26.05.2014, 15:03
When your function is being called?
Is it OnPlayerSpawn callback? If so, simply before that, add the line I have gave you, simply use it like this:
But I wouldn't add refresh of the animations in spawn, unless you make boolean variable that checks if animations has been refreshed already or not. If you have OnPlayerLogin callback or anything like that, add that line in there, it will fix it.
pawn Код:
SetPlayerSpawn(playerid, bool:stil)
pawn Код:
ApplyAnimation(playerid, "DEALER", "null", 0.0, 0, 0, 0, 0, 0);
// Your function here.