Jump to content

[Perfect for RP Servers] 1.0.0

   (9 reviews)

2 Screenshots

About This File

What is this amazing script?

You are also able to control the steering (unable to set straight afterwards due to setSteeringAngle not being implemented yet) so you can move the vehicle to the side of the road.

If you are an RP server then this is perfect for you!

With some wizard maths, the text and position is at the correct end of each car and is based on distance (This has taken over 6 hours to get right)



I have already built in configuration to set whether you can allow it on locked vehicles, low health vehicles, whether the engine is off and certain vehicle classes.

These can all be configured in the config section of the file:

this.config = {
           AllowVehicleClass: [0, 1, 2, 3, 4, 5, 6, 9, 18], // These are the normal vehicles in the game classes - to disable it, set it to false
           MaxVehicleCubedSize: 25, // This is the vehicle length * width - as an idea an ambulance is 21
           LockHandbrakeProtection: false, // If set - you can't push a locked vehicle (Theft prevention or ditching cars)
           EngineProtection: false, // If set - you can only push if the enginer is turned off
           VehicleHealthProtection: false, // Must be less than 1000 or false which de-activates checking vehicle health
           PushEventName: false, // Set this to send an event to your server with the relevant Vehicle and Player attached (ie 'pushing_car')
           LabelsDisplayed: true, // Show labels near the pushing positions when close enough
           DebugPositions: false, // View pushing positions as markers so they are more visible
           AllowVehicleSteering: true, // Allows the player to turn the wheels of the vehicle using A and D keys


In Action

To see how it looks working just checkout:



Lastly if you have any questions feel free to give me a shout on discord (wdoyle2) or respond in the comment section.

This is currently not on github but more than happy to post it for any future pull requests. 



  • Like 12
  • Mask 1

User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


· Edited by draobrehtom

   3 of 4 members found this review helpful 3 / 4 members


you are star bringing the light to this community - such a great work!

Just want to add very little change, when there is no any cars near:

const Vehicle = mp.vehicles.atHandle(idVehicle);
if (Vehicle === null) {
    return false;
const vehClass = Vehicle.getClass(); // there is error
Link to review

· Edited by joew

   1 of 2 members found this review helpful 1 / 2 members

@Wdoyle  thank you very much!!!! 

I did the change that @crying_bae suggested, but still got "error":

Vehicle.locked and Vehicle.engine are always "undefined" (like null) so it pushes the vehicle even if it is locked or with engines on.

I can't fix it by my own. Any tip how to fix it, please?

Btw very nice script, thank you so much!!!!

  • Like 1
Link to review

   1 of 2 members found this review helpful 1 / 2 members

well done😯

Link to review

   1 of 2 members found this review helpful 1 / 2 members

this is great  

got my car 🚗 pushed 🧗‍♂️


  • Like 2
Link to review
Guest steve


not working in 1.0, others players just see you running :(

Link to review
  • Create New...