About This File
Hello yes very nice. I have a nice resource for you.
You press G. It finds the nearest vehicle, and the nearest seat in such vehicle, and makes you get in it. Supports vehicles without doors, the bus with like 12 seats or whatever it has. Should support all newly added vehicles too, DLC vehicles etc.
For vehicles with grab holds, G will make you enter the vehicle (like granger), SHIFT + G will force you to grab onto the sides, even if no one is inside the vehicle.
Locking:
To stop people getting in as passenger, like a locked vehicle use this code somewhere in your server:
vehicle.setVariable('locked', true)
To install:
- Place the folder from inside client_packages into your client_packages folder.
- Add
require('./BetterGSeats/seats.js');
to your client index.js
- Very nice)