SA-MP Forums Archive
How i can define Back Anim - 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: How i can define Back Anim (/showthread.php?tid=588602)



How i can define Back Anim - Vaki - 10.09.2015

Here is picture



Re: How i can define Back Anim - lanix - 10.09.2015

Код:
#define BackAnim



Re: How i can define Back Anim - Vince - 10.09.2015

Quote:
Originally Posted by lanix
Посмотреть сообщение
Код:
#define BackAnim
Don't reply with clueless answers.

I have no idea what "BackAnim" is supposed to do. Clearly you have copied this from somewhere because you don't know what it's supposed to do either. So: find the source.

Also, instead of relying on strcmp, convert the value to an integer so you can use it in a switch. Faster, easier and more compact.


Re: How i can define Back Anim - Kyle - 10.09.2015

Try these:

ApplyAnimation(playerid, "SUNBATHE", "SBATHE_F_LieB2Sit", 4.1, 0, 0, 0, 1, 0);
ApplyAnimation(playerid, "CRACK", "crckidle2", 4.1, 0, 0, 0, 1, 0);