SA-MP Forums Archive
Hands Up 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: Hands Up Animation? (/showthread.php?tid=363611)



Hands Up Animation? - ShawtyyMacJunior - 28.07.2012

I dont know they animlib or name for the handsup animation but i want it to look like this :

ApplyAnimation(playerid,"animlib","animname",4.1,1,1,1,1,1,1);

( The underlines show what needs to be changed )


Re: Hands Up Animation? - Cjgogo - 28.07.2012

Use this:
pawn Код:
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);



Re: Hands Up Animation? - ShawtyyMacJunior - 28.07.2012

I knew that CMD but i want them to do it automatically instead of it being set


Re: Hands Up Animation? - JaKe Elite - 28.07.2012

Its not command its a special action.


Re: Hands Up Animation? - Cjgogo - 28.07.2012

OK,then,here you go:
pawn Код:
ApplyAnimation(playerid,"ped","handsup",4.1,1,1,1,1,1,1);



Re: Hands Up Animation? - xSkullx - 28.07.2012

Or try this.
Quote:

CMD:handsup(playerid,params[])return SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HAN DSUP);