27.05.2016, 00:27
So guys as you may know there is a bug with entering vehicles with G (as a passanger)...
The bug is : if you are behind a fence and the car that you are entering is on the other side you can enter that car by pressing G and waiting for a bit (you just get teleported after a shot period of time)...
So I made a simple system to stop player from entering a vehicle after 3 seconds of trying!
BUT there is a problem... It's only if the player presses "F" and I don't know how to define key "G".
Can anyone help me?
EDIT:Nevermind I fixed it...
The bug is : if you are behind a fence and the car that you are entering is on the other side you can enter that car by pressing G and waiting for a bit (you just get teleported after a shot period of time)...
So I made a simple system to stop player from entering a vehicle after 3 seconds of trying!
BUT there is a problem... It's only if the player presses "F" and I don't know how to define key "G".
Can anyone help me?
EDIT:Nevermind I fixed it...