Some errors ..
#1

Eh, I'm creating some special "timers" for the team that owns the Train-Station, but i get these errors:

Код:
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
The code:

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]);
                }
            }
        }
Do i need to create something for the "KillTimer"?
Reply


Messages In This Thread
Some errors .. - by Kyance - 10.01.2014, 13:24
Re: Some errors .. - by newbie scripter - 10.01.2014, 13:51
Re: Some errors .. - by Kyance - 11.01.2014, 05:15
Re: Some errors .. - by Kyance - 13.01.2014, 15:43

Forum Jump:


Users browsing this thread: 3 Guest(s)