SA-MP Forums Archive
2 Questions - 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: 2 Questions (/showthread.php?tid=482290)



2 Questions - AnonScripter - 20.12.2013

1)What is the ID of "Sitting On Knee" Animation. i want it to use it with CUFFED SPECIAL ACTION.
2) How to make the player fall down when he Jump while He Is Cuffed


Re: 2 Questions - AnonScripter - 20.12.2013

anyone?


Re: 2 Questions - SilentSoul - 20.12.2013

1) ApplyAnimation(playerid,"PED","SEAT_IDLE",4,0,0,0, 1,0,1); not sure but 'by searching i found that'
2 ) make an variable once the player used the animation example
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    //check if the variable of the animation == 1
    if (PRESSED(KEY_JUMP))
    {
           //do something here!
    }
    return 1;
}