#1

Код:
  	if (strcmp(cmdtext, "/admins", true) == 0)
	{
	    new count = 0;
		SendClientMessage(playerid, 0xFFFFFFAA, "Administrators Online:");
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
		    if (IsPlayerConnected(i))
	  		{
  				if(adminlevel[i] <= 3 && adminlevel[i] <= 5 )
	    		{
					GetPlayerName(i, sendername, sizeof(sendername));
					format(string, 128, "%s (ID:%i)", sendername, i);
					SendClientMessage(playerid, COLOR_WHITE, string);
					count++;
				}
			}
		}
		if (count == 0) SendClientMessage(playerid, COLOR_WHITE,"There are no admins online.Try /mods ,If there are any mods online.");
		return 1;
	}
Код:
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\[BWS]Mode.pwn(264) : error 017: undefined symbol "adminlevel"
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\[BWS]Mode.pwn(264) : warning 215: expression has no effect
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\[BWS]Mode.pwn(264) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\[BWS]Mode.pwn(264) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrateur\Bureau\BWS\gamemodes\[BWS]Mode.pwn(264) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
4 Errors.
Reply


Messages In This Thread
Help - by AzTeCaS - 23.11.2010, 12:21
Re: Help - by AzTeCaS - 23.11.2010, 12:34
Re: Help - by Cameltoe - 23.11.2010, 12:37
Re: Help - by AzTeCaS - 23.11.2010, 12:42
Re: Help - by Zh3r0 - 23.11.2010, 12:43
Re: Help - by AzTeCaS - 23.11.2010, 12:45
Re: Help - by Cameltoe - 23.11.2010, 12:46
Re: Help - by AzTeCaS - 23.11.2010, 12:53
Re: Help - by Zh3r0 - 23.11.2010, 12:54
Re: Help - by Cameltoe - 23.11.2010, 12:59
Re: Help - by AzTeCaS - 23.11.2010, 13:01
Re: Help - by AzTeCaS - 23.11.2010, 13:29
Re: Help - by Buzzbomb - 23.11.2010, 14:33

Forum Jump:


Users browsing this thread: 3 Guest(s)