Enter and Exit - 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: Enter and Exit (
/showthread.php?tid=527408)
Enter and Exit -
ScriptFohLife - 22.07.2014
Okay so right now i need to write /enter to enter something and /exit to exit something, how can i change it to "F", and when im gonna turn on the engine of a vehicle i need to write /car engine, how do i make it "2"
Please help!
Re: Enter and Exit -
Steel_ - 22.07.2014
https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
This is what you need
Re: Enter and Exit -
SKAzini - 22.07.2014
If you're using ZCMD, check for the key and return cmd_enter(playerid, ""); / return cmd_exit(playerid, "");