I can nothing wrong with that...
It may be giving you warnings because you are using different spaces before each expression, try:
PHP Code:
public Action:Command_rtime(cilent, args)
{
//Player names can not be longer than 64 chars
decl String:name[64], String:rtime[255];
GetClientName(client, name, sizeof(name));
GetCmdArgString(rtime, sizeof(rtime));
PrintToChatAll("%s changed roundtime", name);
ServerCommand("mp_roundtime %s", rtime);
}
There is a function called
GetClientCount, but i am not sure if it detects sourcetv people
I am not sure if this works, but according to
http://wiki.alliedmods.net/Format_Cl...d_Scripting%29 you can try using %N to get player name, exemple:
PrintToChatAll("%N changed roundtime", client);
__________________