falseprophet Posted July 17, 2011 Share Posted July 17, 2011 If I call createBlipAttachedTo() when a player joins the server, what would the proper way to delete it be? Link to comment
JR10 Posted July 17, 2011 Share Posted July 17, 2011 Store it in a variable and use: destroyElement Something like: local Blips = {} addEventHandler("onPlayerJoin", root, function() Blips[source] = createBlipAttachedTo() end) --destroy it later destroyElement(Blips[source]) Blips[source] = nil 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