Perfect Posted August 17, 2012 Posted August 17, 2012 Hi All, How to remove blip via command (I mean my own blip not others) Multi Theft Auto Player since middle of 2011. Everybody want to act Crazy/Smart/Intelligent/Different/Unique/Innocent and Thats why I am Perfect.
Taalasmaa Posted August 17, 2012 Posted August 17, 2012 Hello Perfect, lets assume you create your blip. Create it like this. perfectBlip = createBlip ( 0, 0, 0 ) -- now destroy it destroyElement(perfectBlip) And destroy it with destroyElement. http://www.sincitygaming.net - The next generation of gaming! SinCity Gaming | UltiRace 24/7 - 188.165.199.162:22003 SinCity Gaming | Roleplay Gaming - Beta soon! SinCity Gaming | Zombie Mode + - 188.165.199.162:22005 Instead of using ip: 188.165.199.162 you can use: sincitygaming.net
CheiN Posted August 17, 2012 Posted August 17, 2012 function blipper () local perfectBlip = createBlip (sintax) destroyElement (perfectBlip) addEvent ("onPlayerCommand", true) addCommandHandler("hiddeblip", blipper) i think that it not will work... My scripts: toptimes on scoreboard (server21) Screen on login(scren) Score on scoreboard (score)
albers14 Posted August 17, 2012 Posted August 17, 2012 function blipper () local perfectBlip = createBlip (sintax) destroyElement (perfectBlip) addEvent ("onPlayerCommand", true) -- Why are you creating an event ;o? addCommandHandler("hiddeblip", blipper) i think that it not will work... Anyways is it a blip you had created with a script, or the normal blip attached to you player?
Castillo Posted August 17, 2012 Posted August 17, 2012 addCommandHandler ( "destroyblip", function ( thePlayer ) for index, element in ipairs ( getAttachedElements ( thePlayer ) ) do if ( getElementType ( element ) == "blip" ) then destroyElement ( element ) end end end ) That'll destroy ANY blip attached to the player who uses the /destroyblip command. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Perfect Posted August 17, 2012 Author Posted August 17, 2012 Thnx everyone but i also need create blip by command, anyway Thnx so much all!!! EDIT: How to get Blip back ? Multi Theft Auto Player since middle of 2011. Everybody want to act Crazy/Smart/Intelligent/Different/Unique/Innocent and Thats why I am Perfect.
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