[Help Request] Press F insted of /enter
#1

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:
Код:
 Gone
Thanks alot in advance.
Reply
#2

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
Reply
#3

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
Reply
#4

No problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)