Jump to content

Rainbow tags


ZuKoMTA

Recommended Posts

Hello . I would like you to help me with skryptek , which should add a tag . This is not my script . I do not know how it works. Could you explain it for me ? I would like to make it work for TFF DM .

clanPlayers[] = { 
    "TFG~", 
    "Name2", 
    "Name3" 
} 
  
local colorCodeRed[] = {255,0,0} 
local colorCodeGreen[] = {0,255,0} 
local colorCodeBlue[] = {0,0,255} 
  
setTimer(function() 
    if isInClan(source) == true then 
        setPlayerName(source,"TFG~/"..getPlayerName(source))   
    end  
end,1000,0) 
  
function isInClan(player)  
    local name = getPlayerName(player) 
    for i,v in ipairs (clanPlayers) do 
        if name == clanPlayers[1] then 
            return true 
        end 
    end 
    return false 
end 

Link to comment

source is not defined in the timer

and in the function isInClan why you are doing loop and there's player argument

and you dont have to put [] in the table name and the varbs.

the whole code is worng

can you just explain what you are trying to do?

Link to comment
can you just explain what you are trying to do?

I would like the player who enters the TFG ~ to nick . Getting to him 255,87,0 color , and every 4 seconds changed color 0,255,0 1 second , and then again 255,87,0 .

Codes gives sloppy . I just want it to look like on the server TFF

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