..:D&G:.. Posted October 26, 2014 Share Posted October 26, 2014 Hello, I want to know how to "else" a blip that is visible on the map. local blip = createBlipAttachedTo(vehicle, 12, 2, 255, 0, 0, 255, 0, 99999.0, source) I want to make like an "else" if the "blip" blip/element is visible on the map, I want to distroy it. Anyone got an idea how to do thaT? Link to comment
toxicsmoke11 Posted October 26, 2014 Share Posted October 26, 2014 not sure what you want to do but maybe something like this if isElementVisibleTo(blip,root) then destroyElement(blip) end im also not sure if this would work Link to comment
..:D&G:.. Posted October 27, 2014 Author Share Posted October 27, 2014 That didn't work. I wank to make a button which makes an attached blip when clicked. Now, when you click it, it creates the blip, and when clicked again, creates another of top of the first one, but I want it to destroy the blip if the button is clicked the second time. 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