[Help Request] Press F insted of /enter - 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: [Help Request] Press F insted of /enter (
/showthread.php?tid=109164)
[Help Request] Press F insted of /enter -
Wulffe - 18.11.2009
Hello, i have tryed to make a key command, so when i press i enter a building, but i cant do it -.-
So can anyone here try showing me how i do it ?
The code:
Thanks alot in advance.
Re: [Help Request] Press F insted of /enter -
LarzI - 18.11.2009
OnPlayerKeyStateChange.
Simply put an if statement if(newkeys == KEY_NAME) Remember that KEY_NAME can be found in a_samp.inc
and inside the if statement, just put the content of the command statement
Re: [Help Request] Press F insted of /enter -
Wulffe - 18.11.2009
Quote:
Originally Posted by lrZ^ aka LarzI
OnPlayerKeyStateChange.
Simply put an if statement if(newkeys == KEY_NAME) Remember that KEY_NAME can be found in a_samp.inc
and inside the if statement, just put the content of the command statement
|
Thanks!
That helped me alot
Re: [Help Request] Press F insted of /enter -
LarzI - 18.11.2009
No problem