OnPlayerEnterVehicle bug

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...

Forum Jump:

Users browsing this thread: 1 Guest(s)