how to stop SetPlayerSpecialAction? - 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 to stop SetPlayerSpecialAction? (
/showthread.php?tid=494350)
how to stop SetPlayerSpecialAction? -
alishvasis - 12.02.2014
Hi Friends.How To Stop SetPlayerSpecialAction
?
Re: how to stop SetPlayerSpecialAction? -
AlonzoTorres - 12.02.2014
pawn Код:
SetPlayerSpecialAction(playerid, 0);
Re: how to stop SetPlayerSpecialAction? -
TheSnaKe - 12.02.2014
If you want to stop the animation by pressing space use this under OnPlayerKeyStateChange
Код:
if(newkeys & KEY_SPRINT)
{
ClearAnimations(playerid);
}