Juance Posted March 17, 2020 Posted March 17, 2020 (edited) Hi everyone. My question is the following: Is there something so that the engines of the vehicles do not automatically turn on / off, if not controlled by the user? The only thing that I have done is that, if a player gets into the vehicle and the engine is "false" it does a "setEngineOn (false)" to physically turn off the engine. Edited March 17, 2020 by Juance
JensDerZocker Posted March 17, 2020 Posted March 17, 2020 (edited) I solved the client side like this mp.events.add({ 'playerEnterVehicle': (vehicle, seat) => { if (mp.players.local.getSeatIsTryingToEnter() == -1 || vehicle.getIsEngineRunning()) { return; } } }); Edited March 17, 2020 by JensDerZocker
mDenis16 Posted March 20, 2020 Posted March 20, 2020 (edited) i noticed the same bug playerEnterVehicle doesnt even get triggered on clientside Edited March 20, 2020 by mDenis16
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now