-misterX- Posted February 16, 2013 Posted February 16, 2013 if in a function i attach a blip to a player how do i remove it when the player is wasted?
Castillo Posted February 16, 2013 Posted February 16, 2013 You can create a table and store the blip element there using the player as index, then on wasted you can get it and destroy it.
50p Posted February 16, 2013 Posted February 16, 2013 for k, v in ipairs( getAttachedElements( player ) ) do destroyElement( v ); -- it will destroy all elements attached to player end
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