30.03.2016, 18:10
It's the same as if you're creating a command, but instead your code would go under the key you're detecting. In your case, it would be KEY_FIRE which is LMB.
So your code would basically check if the button is being pressed
then you'd check if the player is in a vehicle & give them the nos.
So your code would basically check if the button is being pressed
Код:
if (newkeys & KEY_FIRE)