P4RK0UR Posted January 26, 2014 Share 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 Link to comment
Castillo Posted January 26, 2014 Share Posted January 26, 2014 That script should respawn vehicles when they blow up. I don't see anything wrong with it. Link to comment
P4RK0UR Posted January 26, 2014 Author Share 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? Link to comment
Gallardo9944 Posted January 26, 2014 Share Posted January 26, 2014 @P4RK0UR, it doesn't matter if you use setVehicleRespawnPosition Link to comment
P4RK0UR Posted January 26, 2014 Author Share Posted January 26, 2014 @P4RK0UR, it doesn't matter if you use setVehicleRespawnPosition ok ty Link to comment
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