Wisam Posted June 24, 2012 Share Posted June 24, 2012 Hi.. Im wisam, today i wanted to ask about some simple run codes... my friend gave them to me and now i lost them so i need them back... some small run codes i need: 1. hide the player name. 2. hide the player's blip 3. Hide the player. or you can help me better, tell me where i can find ALL the runcodes. Thank You, Regards Link to comment
Wisam Posted June 24, 2012 Author Share Posted June 24, 2012 https://wiki.multitheftauto.com Searched here but couldn't find anything Link to comment
Wisam Posted June 25, 2012 Author Share Posted June 25, 2012 Oh i found them, but its it: setPlayerNametagShowing (playerName, false) if i wanted to hide the blip? Link to comment
TAPL Posted June 25, 2012 Share Posted June 25, 2012 Oh i found them,but its it: setPlayerNametagShowing (playerName, false) if i wanted to hide the blip? setPlayerNametagShowing (playerName, false) will hide Player Name Tag, also playerName here is not string it must be player element. you can hide blip using this https://wiki.multitheftauto.com/wiki/SetElementVisibleTo This function i find it at wiki, it will help you to get the blip element. function getBlipAttachedTo( thePlayer ) local blips = getElementsByType( "blip" ) for k, theBlip in ipairs( blips ) do if getElementAttachedTo( theBlip ) == thePlayer then return theBlip end end return false end Link to comment
Wisam Posted June 25, 2012 Author Share Posted June 25, 2012 i used tis: run setPlayerNametagShowing (Wisam, true) and didnt worked, it says: Wisam executed command: setPlayerNametagShowing (Wisam, false) Command results: false [boolean] Link to comment
TAPL Posted June 25, 2012 Share Posted June 25, 2012 i used tis:run setPlayerNametagShowing (Wisam, true) and didnt worked, it says: Wisam executed command: setPlayerNametagShowing (Wisam, false) Command results: false [boolean] setPlayerNametagShowing (playerName, false) will hide Player Name Tag, also playerName here is not string it must be player element. 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