Forum

> > CS2D > Scripts > rank script
Forums overviewCS2D overview Scripts overviewLog in to reply

English rank script

5 replies
To the start Previous 1 Next To the start

old rank script

Black Wolf
User Off Offline

Quote
Can someone tell how i can make script like…

If you are usgn listed then when you talk in server you have colored name and tag (admin).

old Re: rank script

EndDead
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
list_usgn = {xxxx}  -- put your usgn there
addhook("say", "AdminSay")
function AdminSay(id, text)
	
	local _, i;
	for _, i in ipairs(list_usgn) do
		if (i == player(id, "usgn")) then
			msg("©255255255" .. player(id,"name") .. " (»Admin«): " .. text)  -- Change Admin to the tag you want also change "©255255255" to the color 
			return 1;
		end
	end
end
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview