29.03.2013, 03:06
Ay guys, well can anyone show me how to apply animation on a NPC that will be constant? (Constant loop)
This is my current code. But the animation wont work at all.
Also I tried with:
Main GM Script:
NPC script
This is my current code. But the animation wont work at all.
Код:
if(IsPlayerNPC(playerid)) { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); if(!strcmp(npcname, "Drug_D_Main", true)) { SetPlayerSkin(playerid, 113); ApplyAnimation(playerid,"PAULNMAC", "wank_loop", 1.800001, 1, 0, 0, 1, 600); } return 1; }
Main GM Script:
Код:
CMD:crossarms(playerid, params[]) { ApplyAnimation(playerid,"PAULNMAC", "wank_loop", 1.800001, 1, 0, 0, 1, 600); return 1; }
Код:
public OnPlayerStreamIn(playerid) { SendCommand("/crossarms"); return 1; }