10.01.2014, 13:24
Eh, I'm creating some special "timers" for the team that owns the Train-Station, but i get these errors:
The code:
Do i need to create something for the "KillTimer"?
Код:
test2.pwn(2135) : error 028: invalid subscript (not an array or too many subscripts): "RSTimer" test2.pwn(2135) : warning 215: expression has no effect test2.pwn(2135) : error 001: expected token: ";", but found "]" test2.pwn(2135) : error 029: invalid expression, assumed zero test2.pwn(2135) : fatal error 107: too many error messages on one line
pawn Код:
if(gTeam[playerid] == USArmy)
{
GangZoneShowForAll(Zone[CAPZONE], US_COLOR);
SetTimerEx("USTimer", 180000, true, "i", playerid);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(gTeam[i] != gTeam[playerid])
{
KillTimer(RSTimer[i]); //Error line
KillTimer(CHTimer[i]);
KillTimer(SPTimer[i]);
KillTimer(NLTimer[i]);
}
}
}