SA-MP Forums Archive
about animation - 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: about animation (/showthread.php?tid=551606)



about animation - SequenceCuz - 20.12.2014

hey i setted my npc anim to

CMD:testanimnpc(playerid, params[])
{
ApplyAnimation(nowhere, "INT_SHOP", "SHOP_LOOP", 4.0, 0, 0, 0, 1, 0, 1); //
return 1;
}

when i use this it work when i'm in range of npc but when i go faraway and comeback i can't see animation anymore


what to do now?


Re: about animation - SequenceCuz - 20.12.2014

BUMPING THE HELL PROBLEM!


Re: about animation - Threshold - 20.12.2014

https://sampwiki.blast.hk/wiki/OnPlayerStreamIn

pawn Код:
public OnPlayerStreamIn(playerid, forplayerid)
{
    if(IsPlayerNPC(playerid))
    {
        //If they are playing the animation...
        ApplyAnimation(playerid, "INT_SHOP", "SHOP_LOOP", 4.0, 1, 0, 0, 0, 0, 2);
    }
    return 1;
}



Re: about animation - SequenceCuz - 05.04.2015

thank mate