-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. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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 - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
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