10.02.2012, 15:32
The last time I tried this, I added the animation code under OnPlayerUpdate.
That is the only way I can remember getting it to work.
P.s. I'm not a fan of how the current NPC system works.
pawn Код:
public OnPlayerUpdate(playerid) {
if (IsPlayerNPC(playerid)) {
ApplyAnimation(playerid, "CRACK", "crckidle2", 4.0, 0, 0, 0, 0, 0);
}
return 1;
}
P.s. I'm not a fan of how the current NPC system works.