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


Messages In This Thread
NPC animation not working - by Bondage - 30.10.2014, 19:06
Re: NPC animation not working - by M0HAMMAD - 30.10.2014, 20:48
Re: NPC animation not working - by Bondage - 30.10.2014, 21:43

Forum Jump:


Users browsing this thread: 3 Guest(s)