22.04.2012, 18:54
I get this
with this
Код:
C:\Users\Robins\Desktop\New folder\pawno\include\/CRP/Publics/OnPlayerEnterCheckpoint.pwn(12) : error 017: undefined symbol "CheckPointAreaType" C:\Users\Robins\Desktop\New folder\pawno\include\/CRP/Publics/OnPlayerEnterCheckpoint.pwn(12) : warning 215: expression has no effect C:\Users\Robins\Desktop\New folder\pawno\include\/CRP/Publics/OnPlayerEnterCheckpoint.pwn(12) : error 001: expected token: ";", but found "]" C:\Users\Robins\Desktop\New folder\pawno\include\/CRP/Publics/OnPlayerEnterCheckpoint.pwn(12) : error 029: invalid expression, assumed zero C:\Users\Robins\Desktop\New folder\pawno\include\/CRP/Publics/OnPlayerEnterCheckpoint.pwn(12) : fatal error 107: too many error messages on one line
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(IsPlayerNPC(playerid)) return 1;
switch(PlayerInfo[playerid][pCheckpoint])
{
case CheckPointAreaType[0]:
{
GameTextForPlayer(playerid, "~w~/clothes", 3000, 5);
}
}
return 1;