Jump to content

[HELP] Vehicle Respawn


P4RK0UR

Recommended Posts

Posted
function respawnExplodedVehicle() 
    setTimer(respawnVehicle, 5000, 1, source) 
end 
addEventHandler("onVehicleExplode", getRootElement(), respawnExplodedVehicle) 

How can i use this script so that in map editor when i make vehicles for example a hydra it will respawn when it blows up?

Thank you for your time :D

Posted
That script should respawn vehicles when they blow up.

I don't see anything wrong with it.

thank you but do they respawn where they were created or where they were blown up?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...