NPC animation not working - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: NPC animation not working (
/showthread.php?tid=544057)
NPC animation not working -
Bondage - 30.10.2014
Hello
ive been trying to make the npc to show smoking anim but it doesnt seems working but it set the skin id as i set it on onplayerspawn callback, how do i make the anim works
pawn Код:
public OnPlayerSpawn(playerid)
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(IsPlayerNPC(playerid))
{
if(!strcmp(npcname, "Tester", true))
{
ApplyAnimation(playerid,"SMOKING","M_smklean_loop",4.1, 0, 1, 1, 1, 1, 1);
SetPlayerSkin(playerid,2);
return 1;
}
}
return 1;}
Re: NPC animation not working -
M0HAMMAD - 30.10.2014
you must record !
animation not work !
use npc_record filterscript
Re: NPC animation not working -
Bondage - 30.10.2014
Quote:
Originally Posted by M0HAMMAD
you must record !
animation not work !
use npc_record filterscript
|
i did the same but still