[HELP]How To make NPC do an animation ?
#5

I think it should be like this:
pawn Код:
public OnPlayerSpawn(playerid)
{  
if(IsPlayerNPC(playerid))
{    
new npcname[MAX_PLAYER_NAME];    
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "NAMEOFNPC", true))
{      
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 10000); //change the animation here
}    
return 1;  
}  
//Other stuff for normal players goes here!  
return 1;
}
Reply


Messages In This Thread
[HELP]How To make NPC do an animation ? - by waim - 09.08.2010, 21:41
Re: [HELP]How To make NPC do an animation ? - by [L3th4l] - 09.08.2010, 21:45
Re: [HELP]How To make NPC do an animation ? - by waim - 09.08.2010, 21:50
Re: [HELP]How To make NPC do an animation ? - by willsuckformoney - 09.08.2010, 22:56
Re: [HELP]How To make NPC do an animation ? - by Fj0rtizFredde - 09.08.2010, 23:14
Re: [HELP]How To make NPC do an animation ? - by waim - 10.08.2010, 10:49
Re: [HELP]How To make NPC do an animation ? - by waim - 10.08.2010, 14:03

Forum Jump:


Users browsing this thread: 4 Guest(s)