MRThinker Posted July 5, 2018 Posted July 5, 2018 Hello friends I have a server. When the vehicles blow up on the server, they will no longer be deleted and stayed exploded there. Help me fix this problem.
mazarati21 Posted July 5, 2018 Posted July 5, 2018 Try this: -- 1 seg = 1000 local disappear = 5000 function vehicledisappear() setTimer(destroyElement, disappear, 1, source) end addEventHandler("onVehicleExplode", getRootElement(), vehicledisappear)
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