addCommandHandler("createTeam", function ( Player , Command , Name , R , G , B )
if ( getTeamFromName ( tostring ( Name ) ) ) then
return outputChatBox("#00ff00#[TeamsSysteam]: This team already exists",Player,255,255,255,true)
end
createTeam ( tostring ( Name ) , tonumber ( R ) , tonumber ( G ) , tonumber ( B ) )
outputChatBox("#00ff00#[TeamsSysteam]: Team "..tostring(Name).." created by "..getPlayerName(Player).." ",root,255,255,255,true)
end
)
addCommandHandler("removeTeam", function ( Player , Command , Team )
if ( getTeamFromName ( tostring ( Team ) ) ) then
destroyElement ( getTeamFromName ( tostring ( Team ) ) )
end
end
)