Jump to content

setNametagcolor


DarkLink

Recommended Posts

try this:

function nametagColorChange ( thePlayer, commandName, r, g, b ) 
                 if  hasObjectPermissionTo ( thePlayer, "command.kick", true )  then 
                           setPlayerNametagColor ( thePlayer, r, g, b ) 
                 end 
    end 
    addCommandHandler ( "nametagcolor", nametagColorChange ) 

   

 

type /nametagcolor number1,number2,number3

Edited by Guest
Link to comment

Hmm... You need set player name color? its this yeah?

function ntag ( thePlayer, commandName, r, g, b )

setPlayerNametagColor ( thePlayer, true )

setPlayerNametagColor ( thePlayer, r, g, b )

end

addCommandHandler ( "nametagcolor", ntag )

try this :)

Link to comment

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