Problem with animation
#1

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.
Reply
#2

You got 0.3e version ?
Reply
#3

Yes.
Reply
#4

Try removing the return.
Reply
#5

try this

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

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.
Reply
#7

Not working.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)