ramzi Posted July 2, 2014 Share Posted July 2, 2014 Hi guys,i was searching for a script that hides the blip of the player (blipless),if anyone of u guys can give me that code. my skype: shooter.tst Link to comment
xXMADEXx Posted July 2, 2014 Share Posted July 2, 2014 It's a resource that's creating it, most likely the playerblips resource. Just stop the resource and the blips will be gone. Link to comment
ramzi Posted July 2, 2014 Author Share Posted July 2, 2014 but i want a script that hides ur blip with a command,thats what i want Link to comment
Et-win Posted July 2, 2014 Share Posted July 2, 2014 getElementsByType destroyElement addCommandHandler Link to comment
ramzi Posted July 2, 2014 Author Share Posted July 2, 2014 dude just give me the full code,i dont know how to script Link to comment
Twisted Posted July 2, 2014 Share Posted July 2, 2014 dude just give me the full code,i dont know how to script This is not a forum for requests(Never mind demanding it!) https://wiki.multitheftauto.com/wiki/Main_Page Perhaps this can help too, gotta try make it yourself. We can help with errors and stuff but you must atleast give it ago. function destroyBlipsAttachedTo( player ) local attached = getAttachedElements ( player ) if ( attached ) then for k,element in ipairs(attached) do if getElementType ( element ) == "blip" then destroyElement ( element ) end end end end Link to comment
Et-win Posted July 3, 2014 Share Posted July 3, 2014 dude just give me the full code,i dont know how to script Be happy we are helping you to script it. You don't even take time to look into the code's I guess? Same with the Admin Panel where I helped you with. You are saying by yourself now you can't script, so you aren't taking time to look into the code's too. Link to comment
ViRuZGamiing Posted July 3, 2014 Share Posted July 3, 2014 he's probably just going to say it doesn't work, give working (or full) code. he doesn't know a addCommandHandler He doesn't deserve the script Twisted already gave if he's so demanding. Link to comment
ramzi Posted July 3, 2014 Author Share Posted July 3, 2014 dude just give me the full code,i dont know how to script This is not a forum for requests(Never mind demanding it!) https://wiki.multitheftauto.com/wiki/Main_Page Perhaps this can help too, gotta try make it yourself. We can help with errors and stuff but you must atleast give it ago. function destroyBlipsAttachedTo( player ) local attached = getAttachedElements ( player ) if ( attached ) then for k,element in ipairs(attached) do if getElementType ( element ) == "blip" then destroyElement ( element ) end end end end this script works fine but there is allitle problem ,player name still showing on,wht should i do to hide the name? Link to comment
Twisted Posted July 3, 2014 Share Posted July 3, 2014 Try using this setPlayerNametagShowing 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