ClearAnimations(playerid);
if(IsSkinValid(pInfo[playerid][skin]))SetPlayerSkin(playerid, pInfo[playerid][skin]);
else pInfo[playerid][skin] = GetPlayerSkin(playerid);
SetSpawnInfo(playerid, NO_TEAM, pInfo[playerid][skin], 0,0,0,0,gMeleePlayer[playerid],1,43,100,0,0);
if(!pInfo[playerid][spawned])ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 0, 0, 0, 0, 0, 0);
LoadPlayerColour(playerid);
We do clear animations by default.
Has this only started happening recently? I added this line of code about 5 days ago:
if(!pInfo[playerid][spawned])ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 0, 0, 0, 0, 0, 0);
Gonna restart server soon, without the animation code after setting skin. Let us know if it fixes the problem.