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

Hello Guys .. I'm looking for Tutorial to force NPC To do an animation, I found this one http://forum.sa-mp.com/search.php?searchid=243202 But it doesn't work if you have another better way to do this Plz Help me and Thank you
Reply
#2

record your npc while you are doing an animation
Reply
#3

Yeah I tried it but My Npc didn't do the anim i don't know why
Reply
#4

doing anim while recording fails hard it just moves the player, wont actually show it doing the anim. And truth be told i would love to know how too doo it too
Reply
#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
#6

Don't work
Reply
#7

Help !! Please
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)