P4RK0UR Posted January 26, 2014 Posted January 26, 2014 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
Castillo Posted January 26, 2014 Posted January 26, 2014 That script should respawn vehicles when they blow up. I don't see anything wrong with it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
P4RK0UR Posted January 26, 2014 Author Posted January 26, 2014 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?
Gallardo9944 Posted January 26, 2014 Posted January 26, 2014 @P4RK0UR, it doesn't matter if you use setVehicleRespawnPosition Code Debugger - Minimalistic MTA debug line replacement
P4RK0UR Posted January 26, 2014 Author Posted January 26, 2014 @P4RK0UR, it doesn't matter if you use setVehicleRespawnPosition ok ty
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