NPC animation not working
#1

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;}
Reply
#2

you must record !
animation not work !
use npc_record filterscript
Reply
#3

Quote:
Originally Posted by M0HAMMAD
Посмотреть сообщение
you must record !
animation not work !
use npc_record filterscript
i did the same but still
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)