If player cheat, send msg only to admins to check
#4

Quote:
Originally Posted by Jay_Dixon
Посмотреть сообщение
Try replacing the SendClientMessageToAll with

Код:
forward ABroadCast(color,const string[],level);
Код:
public ABroadCast(color,const string[],level) {
    //FuncLog("ABroadCast");
	foreach(Player,i) {
   		if (playerInfo[i][pAdmin] >= level) {
			SendClientMessage(i, color, string);
		}
	}
	print(string);
	return 1;
}
: error 017: undefined symbol "foreach"
: error 017: undefined symbol "i"
: error 017: undefined symbol "i"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)