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



Problem with animation - deimantas1 - 17.09.2012

Hello, i have problem with animation.
I use this:
Код:
CMD:test(playerid,params[])
{
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CUFFED);
    return 1;
}
And it not working. I try download sa-mp files from official website, but well not working.


Re: Problem with animation - detter - 17.09.2012

You got 0.3e version ?


Re: Problem with animation - deimantas1 - 17.09.2012

Yes.


Re: Problem with animation - vIBIENNYx - 17.09.2012

Try removing the return.


Re: Problem with animation - XtremeR - 17.09.2012

try this

pawn Код:
CMD:test(playerid,params[])
{
    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CUFFED);
}



Re: Problem with animation - DeathTone - 17.09.2012

Do this

pawn Код:
stock PreloadAnimLib(playerid, animlib[])
{
    ApplyAnimation(playerid, animlib, "null" , 0.0, 0, 0, 0, 0, 0);
}

public OnPlayerSpawn(playerid)
{
    PreloadAnimLib(playerid, "BEACH");
}
Add any anim libs that you use in your script in a PreLoadAnimLib(playerid, lib[]) under OnPlayerSpawn.


Re: Problem with animation - deimantas1 - 17.09.2012

Not working.