Haze Posted November 4, 2011 Posted November 4, 2011 Hello All dose anyone got any Idea on how to Make the Star Number Attach to the Player Name i know that i will use getwantedlevel to Know how much stars but what Function for Dx Should i Use or how i make attach with the Name Of the Player Ingame nick: FWC>Haze Server I play: FWCentral Job: FWCentral Developer Website: fwcentral.net
myonlake Posted November 4, 2011 Posted November 4, 2011 Hello Haze, I am not sure, but I would suggest this one. https://wiki.multitheftauto.com/wiki/DxDrawText And you might not need that, you can just change the player's name. If I helped you, please click the like button on the right Thanks!
Haze Posted November 4, 2011 Author Posted November 4, 2011 yeh lts say i change player Name if he go to Settings he can Resat his Name Agine for the Dx im not sure how to Make the Text Attache to the Name Ingame nick: FWC>Haze Server I play: FWCentral Job: FWCentral Developer Website: fwcentral.net
Charlie_Jefferson Posted November 4, 2011 Posted November 4, 2011 function wantedLevel( thePlayer ) pname = getPlayerName(thePlayer) wanted = getPlayerWantedLevel(thePlayer) wantedStars = { 1, 2, 3, 4, 5 } if wanted == wantedStars then setPlayerName(thePlayer, pname .. "[" .. wanted .. "]") else return end end Not sure if it works.
Castillo Posted November 4, 2011 Posted November 4, 2011 function updateWantedLevel() for index, player in pairs(getElementsByType("player")) do setPlayerNametagText(player, getPlayerName(player).." [".. getPlayerWantedLevel(player) .."]") end end setTimer(updateWantedLevel,2000,0) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Haze Posted November 4, 2011 Author Posted November 4, 2011 Thx m8 u always been the best Ingame nick: FWC>Haze Server I play: FWCentral Job: FWCentral Developer Website: fwcentral.net
Castillo Posted November 4, 2011 Posted November 4, 2011 You're welcome. P.S: It may not be the most efficient way though. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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