20.01.2013, 15:02
When i complie i get this error:
here is the line:
pawn Код:
C:\Documents and Settings\Owner\Desktop\Trucking Life\pawno\include\PPC_ServerSettings.inc(31) : warning 201: redefinition of constant/macro (symbol "MAX_HOUSES")
C:\Documents and Settings\Owner\Desktop\Trucking Life\pawno\include\PPC_PlayerCommands.inc(5135) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\Owner\Desktop\Trucking Life\pawno\include\PPC_PlayerCommands.inc(5135) : warning 215: expression has no effect
C:\Documents and Settings\Owner\Desktop\Trucking Life\pawno\include\PPC_PlayerCommands.inc(5135) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Owner\Desktop\Trucking Life\pawno\include\PPC_PlayerCommands.inc(5135) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Owner\Desktop\Trucking Life\pawno\include\PPC_PlayerCommands.inc(5135) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
COMMAND:clearchat(playerid,params[])
{
if( PlayerInfo[ playerid ][ pAdmin ] >= 1 ) return SendClientMessage( playerid, COLOR_RED, "ERROR: You must be level 1 to use this command!" );
{
for( new i = 0; i <= 100; i ++ ) SendClientMessageToAll( -1, "" );
} return 1;
}