03.02.2014, 17:34
i get these following errors
On these lines:
How To Fix This Problem?
pawn Код:
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\LSGW2.pwn(1276) : error 028: invalid subscript (not an array or too many subscripts): "timer"
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\LSGW2.pwn(1276) : warning 215: expression has no effect
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\LSGW2.pwn(1276) : error 001: expected token: ";", but found "]"
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\LSGW2.pwn(1276) : error 029: invalid expression, assumed zero
D:\Gta San Andreas Multiplayer\Gta San Andreas Multiplayer\LSGW2.pwn(1276) : 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 Код:
if(checkpointid == GTurf)
{
if(tCP[Grove] == gTeam[playerid]) return SendClientMessage(playerid, 0xF50A0AFF,"This zone is already captured by your team");
if(UnderAttack[Grove] == 1) return SendClientMessage(playerid, 0xF50A0AFF,"This zone is already being taken over!");
UnderAttack[Grove] = 1;
timer[playerid][Grove] = SetTimerEx("G",60000,false,"i", playerid);
SendClientMessage(playerid, 0xFFFB00FF,"You're Capturing this zone! Wait here for 60 Seconds!");
new string[128];
format(string, sizeof(string),"[ATTENTION]: Unity Station is Being taken Over!");
SendClientMessageToAll(0xF50A0AFF,string);
iCP[playerid] = Grove;
}