17.12.2010, 06:43
Ok so for some reason the NPC SHOULD be looping through the drunk walk animation, however it is not doing the animation at all. (This is just a blank NPC it does not use a recording nor do I want it to use a recording). I am aware that this animation will not make the NPC move I just want it to be applied when it spawns (I'm geussing the NPC will just drunk walk on the spot or something).
All I want is the NPC to do the animation when it spawns, which is not happening for some odd reason.
(NOTE: I have searched and found similar topics having the same problem - however I did not find a solution.)
Thanks in advance.
All I want is the NPC to do the animation when it spawns, which is not happening for some odd reason.
Код:
public OnPlayerSpawn(playerid) { if(IsPlayerNPC(playerid)) { ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1); } return 1; }
Thanks in advance.