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



Animation help - HidroDF - 15.12.2016

Hello, I'm doing the Player Death of my Game Mode. When the player deaths he respawns at same location but animated with:

Код:
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.1, 1, 1, 1, 1, 1, 1);
He can choose to call paramedics or accept his death, this is working fine but I have a problem. He can move. The animation is applied using a timer of 1 second so if he jump or punch he moves and the return to the animation. How I can make to stay in the same place and let the user type commands for call paramedics or accept death?

Thanks.


Re: Animation help - StrikerZ - 15.12.2016

https://sampwiki.blast.hk/wiki/ApplyAnimation

Check the lock parameter's info


Respuesta: Animation help - HidroDF - 15.12.2016

Done,

Код:
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.1, 1, 0, 0, 1, 1, 1);
No result, stills same


Re: Animation help - StrikerZ - 15.12.2016

PHP код:
ApplyAnimation(playerid"CRACK""crckdeth2"4.1100101); 
Tested by me