Key pressed
#1

Hello Everybody,

I was wondering if it's possible to assign other keys then just the default one in the game to use it in a script. LeftCTRL for example. Because I want to make spawnable ramps when someone is driving a vehicle. With the OnPlayerKeyState or something isn't it possible, is it?

If anyone can tell me, thank you :P.

Btw, I saw this in a other server and they did it too with LeftCTRL or LeftALT or so.

Greetz,
Pascal
Reply
#2

Yes it is and use search... (Download any stunt gamemode)
Reply
#3

Quote:
Originally Posted by pascallj
Hello Everybody,

I was wondering if it's possible to assign other keys then just the default one in the game to use it in a script. LeftCTRL for example. Because I want to make spawnable ramps when someone is driving a vehicle. With the OnPlayerKeyState or something isn't it possible, is it?

If anyone can tell me, thank you :P.

Btw, I saw this in a other server and they did it too with LeftCTRL or LeftALT or so.

Greetz,
Pascal
Maybe, i don't really know but i've seen this to, and it is onlty lctrl and if it was the fire key click would also work but it doesn't.
Reply
#4

You can only use active keys. Key List
Reply
#5

Quote:
Originally Posted by MaykoX
Yes it is and use search... (Download any stunt gamemode)
Like? And I've already searched..

@Joe Staff:

I thought that too, but MaykoX sais it's possible. (And I've seen it too in other server)
Reply
#6

Left Alt is, by default, walk and Left Control is Fire. Vehicle keys are differeent (W = sprint)
Reply
#7

Quote:
Originally Posted by Joe Staff
Left Alt is, by default, walk and Left Control is Fire. Vehicle keys are differeent (W = sprint)
Yes it's true, but what do you want to say with it?
Reply
#8

I'm implying that you can't just choose a key on the keyboard and make it do something. It has to be a key that's modifiable by the player to do something in game. Sprinting, Walking, Shooting, etc.
Reply
#9

Quote:
Originally Posted by Joe Staff
I'm implying that you can't just choose a key on the keyboard and make it do something. It has to be a key that's modifiable by the player to do something in game. Sprinting, Walking, Shooting, etc.
I thought that too, but MaykoX sais it's possible. (And I've seen it too in other server)
Reply
#10

I don't think MaykoX read the first post fully.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)