NoviceWithManyProblems Posted July 3, 2020 Share Posted July 3, 2020 why this doesn't work? local marker = createMarker(--[[...]]) createBlipAttachedTo(marker --[[...]]) addEventHandler("onClientMarkerHit", marker, function(he, md) destroyElement(source) end) I want to destroy marker with blip Link to comment
N3xT Posted July 3, 2020 Share Posted July 3, 2020 local marker = createMarker(--[[...]]) local blip = createBlipAttachedTo(marker --[[...]]) addEventHandler("onClientMarkerHit", marker, function(he, md) destroyElement(source) destroyElement(blip) end) 1 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