SA-MP Forums Archive
Animation Stop "SPACE" - 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 Stop "SPACE" (/showthread.php?tid=363675)



Animation Stop "SPACE" - McCurdy - 28.07.2012

Hey all, i want to know how stop animation using "SPACE" i'm using Raven's Roleplay and to stop the animation use right click and i want change that (disable right click for stop animation).

Any one please.


Re: Animation Stop "SPACE" - Kindred - 28.07.2012

EDIT: Post below


Re: Animation Stop "SPACE" - Cjgogo - 28.07.2012

pawn Код:
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
   if(newkeys & KEY_SPRINT) return ClearAnimations(playerid);
   return 1;
}
EDIT:Someone was faster than me!!


Re: Animation Stop "SPACE" - McCurdy - 28.07.2012

Thank's all, it work...