How Can I Do animation to Npc Recordin iS JUst staying on my foot.. And I Do This but it Doesnt works
Код:
public OnGameModeInit()
{
// The Npc
ConnectNPC("Hell_Riser","HgalSarpNPC");
return 1;
}
public OnPlayerSpawn(playerid)
{
if(!IsPlayerNPC(playerid)) return 0;
if(!strcmp(playername,"Hell_Riser",true)) {
ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); // Lay down
ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0); // Lay down
SetPlayerColor(playerid,0x33AA33AA);
}
return 1;
}