"enter" with key "C"
#9

The crouch key (on-foot) is not used in vehicles (pressing C does no action when pressed in a car). Because it now is just another of those keys (like b, q, x, etc), it does not trigger OnPlayerKeyStateChange (or get listed in GetPlayerKeys).

It might be a bit hard to fully understand, but that's the way it is.

Edit: The value of KEY_CROUCH (2, or 0b10) is used in vehicles, but under a different key. In vehicles, it's the horn (by default H or caps lock).
Reply


Messages In This Thread
"enter" with key "C" - by bloodrocklee - 03.08.2012, 13:48
Re: "enter" with key "C" - by andmeida10 - 03.08.2012, 13:54
Re: "enter" with key "C" - by bloodrocklee - 03.08.2012, 13:59
Re: "enter" with key "C" - by Vince - 03.08.2012, 14:09
Re: "enter" with key "C" - by bloodrocklee - 03.08.2012, 14:12
Re: "enter" with key "C" - by bloodrocklee - 03.08.2012, 14:14
Re: "enter" with key "C" - by bloodrocklee - 03.08.2012, 14:20
Re: "enter" with key "C" - by Misiur - 03.08.2012, 15:13
Re: "enter" with key "C" - by Hiddos - 03.08.2012, 15:14
Re: "enter" with key "C" - by SEnergy - 03.08.2012, 17:02

Forum Jump:


Users browsing this thread: 1 Guest(s)