button to function - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: button to function (
/showthread.php?tid=95028)
button to function -
sggassasin - 02.09.2009
how do i make it so that if a player is in any car they can press 2 and arrest someone i just whant the following things
check if player is in a car (not me)
<------------------------------->
check if i am in a car
<-------------------------------->
bind the butten (need lots of help here )
<------------------------------------->
thats all i need thx for ur time
Re: button to function -
workin925 - 02.09.2009
im just gonna bump this guy topic coz i kinda whant to know how to bind the butten to and i CBF makeing anouther topice so... ya reply
Re: button to function -
Clavius - 02.09.2009
Use OnPlayerKeyStateChange It's explained there how to use it.