Forum

> > CS2D > Scripts > Search for This Script
Forums overviewCS2D overview Scripts overviewLog in to reply

English Search for This Script

8 replies
To the start Previous 1 Next To the start

old Search for This Script

ucoz
BANNED Off Offline

Quote
hmm hello
my English is normal

i have a question --> ( search )
a script
for admin ( usng number )
can write for colure
i mean the admin can write in text ( normal text cheat box )
he write
his text color is ( White - Red - .... )
please i search this lua script for 13 days

old Re: Search for This Script

Yasday
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
-- Script By Blazzingxx
Colors = { grey = "195195195", orange = "255090000", green = "105255000", purple = "190000190" }
AdminTable = { }

addhook("say","AdminSay")

function NewMember(USGN,COLOR,RANK)
     AdminTable[USGN] = { C = COLOR, R = RANK}
     local A = AdminTable[USGN]
end

function AdminSay(P,T)
     local A = AdminTable[player(P,"usgn")]
     if A then
          msg("©"..Colors[string.lower(A.C )]..player(P,"name").." ["..string.upper( A.R ).."]: "..T)
     return(1)
     end
     return(0)
end

NewMember(15101,"orange","Admin")
Took me 2 minutes of searching.

old Re: Search for This Script

TimeQuesT
User Off Offline

Quote
1. into a ".lua" file that you can crete with any editor.

2.(look at blazz. post under this ;))
edited 1×, last 10.02.11 09:19:38 pm

old Re: Search for This Script

SQ
Moderator Off Offline

Quote
1
NewMember(USGN,COLOR,RANK)
Adds member with it's info.
You should use this function after initializing script.
edited 1×, last 10.02.11 09:36:19 pm

old Re: Search for This Script

SQ
Moderator Off Offline

Quote
Well, this won't work unless you want. hehe.
Say what did you do.
What is console output?
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview