NPC anim
#1

hi. i have 1 problem. How can i apply animation on NPC? I want apply him anim but it doesnt work. Can you give me example (or code ) ?

i want it with ApplyAnimation(.....);
Reply
#2

if (strcmp("/b", cmdtext, true) == 0)
{
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "FBI_9", true))
{
ApplyAnimation(playerid,"BLOWJOBZ","BJ_STAND_END_W ",4.1,0,0,0,0,0);
}
}
return 1;
}

dont work
Reply
#3

on NPC folder, there is a file, NPCNAME.pwn, right? There, you must put the command... you can use SendCommand function.
Reply and tell me if you need more help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)