 |
|
Veteran Member
|

12-27-2005
, 14:59
|
#8
|
Quote:
|
Originally Posted by teame06
Code:
public checktext(id)
{
new arg[4], arg1[4], arg2[4]
read_argv(1, arg, 3)
read_argv(2, arg1, 3)
read_argv(3, arg2, 3)
if (arg[0] == '/')
{
replace(arg, 3, "/", "")
trim(arg)
new r = str_to_num(arg)
new g = str_to_num(arg1)
new b = str_to_num(arg2)
//etc function
}
}
|
Reread what he said:
Quote:
|
Let's say an admin uses (say / team_say) following command "/10 20 30".
|
|
|
|
|