Jump to content

Name


Recommended Posts

Posted
It's hard to script...

Lol, are you laughing? This is just ~10 lines of code I can give for free.

_setPlayerNametagColor = setPlayerNametagColor; 
  
function setPlayerNametagColor( thePlayer, hex ) 
  if isElement( thePlayer ) then 
    _setPlayerNametagColor( thePlayer, hexToRGB( hex ) ); 
  end; 
end; 
  
function hexToRGB( num ) 
  num = string.gsub( num, "#", "" ); 
  local r = tonumber( "0x" .. string.sub( num, 1, 2 ) ); 
  local g = tonumber( "0x" .. string.sub( num, 3, 4 ) ); 
  local b = tonumber( "0x" .. string.sub( num, 5, 6 ) ); 
  return r, g, b; 
end; 

p.s.: hey Cow, how it's going on? :D

Posted
It's hard to script...

Lol, are you laughing? This is just ~10 lines of code I can give for free.

_setPlayerNametagColor = setPlayerNametagColor; 
  
function setPlayerNametagColor( thePlayer, hex ) 
  if isElement( thePlayer ) then 
    _setPlayerNametagColor( thePlayer, hexToRGB( hex ) ); 
  end; 
end; 
  
function hexToRGB( num ) 
  num = string.gsub( num, "#", "" ); 
  local r = tonumber( "0x" .. string.sub( num, 1, 2 ) ); 
  local g = tonumber( "0x" .. string.sub( num, 3, 4 ) ); 
  local b = tonumber( "0x" .. string.sub( num, 5, 6 ) ); 
  return r, g, b; 
end; 

p.s.: hey Cow, how it's going on? :D

Oh i thought that he wanted to make the nametags over players in multi color...

Posted
You can't sell an script which you taked from the forums (I know you'd), even worst, for 15 euros.

I didn't take this script from the forum... -.-"

Posted

I won't start a fight, but, i'm 100% sure you did ;)

Btw, a moderator should lock the topic, else it will end into a fight (I guess :P).

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