Jump to content

I got Questionn


Haze

Recommended Posts

Posted

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

276473_205836092791903_297368_n.jpg

default.png?k=0e33bf78535ebcd5e63c863cd33516c6&10966802

default.png?k=557262ebc578ba0f5fbb0b9176e6820e&10966803

Posted

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

276473_205836092791903_297368_n.jpg

default.png?k=0e33bf78535ebcd5e63c863cd33516c6&10966802

default.png?k=557262ebc578ba0f5fbb0b9176e6820e&10966803

Posted
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.

Posted
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.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Thx m8 u always been the best

Ingame nick: FWC>Haze

Server I play: FWCentral

Job: FWCentral Developer

Website: fwcentral.net

276473_205836092791903_297368_n.jpg

default.png?k=0e33bf78535ebcd5e63c863cd33516c6&10966802

default.png?k=557262ebc578ba0f5fbb0b9176e6820e&10966803

Posted

You're welcome.

P.S: It may not be the most efficient way though.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...