djharbi2 Posted August 12, 2016 Share Posted August 12, 2016 This is dvoe_s.lua:5 Error. -- 1 seg = 1000 local tiempoparadesaparecer = 5000 -- Function function desaparecer() setTimer(destroyElement, tiempoparadesaparecer, 1, source) end -- Event addEventHandler("onVehicleExplode", getRootElement(), desaparecer) Link to comment
Captain Cody Posted August 12, 2016 Share Posted August 12, 2016 tiempoparadesaparecer = 5000 function desaparecer() setTimer(destroyElement,tiempoparadesaparecer, 1, source) end addEventHandler("onVehicleExplode", getRootElement(), desaparecer) I have a script basically identical to this, and it works just fine.. Link to comment
djharbi2 Posted August 12, 2016 Author Share Posted August 12, 2016 Thank You a look at this https://forum.multitheftauto.com/viewtopic.php?f=91&t=102059 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