/admins - Something wrong here?
#1

I have just started scripting again after a looong break..
I'm kinda confused about how to fix things again.

Is there something wrong with this command? I haven't tested it 100% yet, all I know is that it is working, but anyways saying unknown command at the end.

Код:
COMMAND:admins(playerid, params[])
{
	new string[256];
	new pname[MAX_PLAYER_NAME];
	SendClientMessage(playerid, grey, "Admins Online:");
	for(new i=0;i<=MAX_PLAYERS;i++) {
	if(adminlevel[i] >= 1) {
	GetPlayerName(i, pname, sizeof(pname));
	format(string,sizeof(string),"AdminLevel %d:  %s[%d] ", adminlevel[i], pname, GetPlayerID(pname));
	SendClientMessage(playerid, grey, string);
	}
	}
	return 1;
}
Reply


Messages In This Thread
/admins - Something wrong here? - by spyr0x - 14.11.2010, 14:34
Re: /admins - Something wrong here? - by Jeffry - 14.11.2010, 14:40
Re: /admins - Something wrong here? - by Gh0sT_ - 14.11.2010, 14:41
Re: /admins - Something wrong here? - by spyr0x - 14.11.2010, 14:42
Re: /admins - Something wrong here? - by Jeffry - 14.11.2010, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)