what the fack?
#1

pawn Код:
forward plantboom(playerid);
public plantboom(playerid)
{
    SendClientMessageToAll(0xFF0000FF, "[BOMB]: Bomb exploded!");
    GivePlayerMoney(playerid, 12500);
    GivePlayerScore(playerid, 5);
    for(new i = 0; i < MAX_PLAYERS, i++)
    {
        planted[i] = 0;
    }
    return 1;
}
Код:
C:\Documents and Settings\eros\Desktop\SAMP Server\gamemodes\awp2.pwn(1154) : error 001: expected token: ";", but found ")"
pawn Код:
[LINE 1154]: for(new i = 0; i < MAX_PLAYERS, i++)
I do not want to put semi colon and that will output many errors.
Reply
#2

Код HTML:
for(new i = 0; i < MAX_PLAYERS; i++)
Error in " MAX_PLAYERS" this ";" not ",'
Reply
#3

Whats wrong with that code? It's the same with mine.
Reply
#4

you write " , " in MAX_PLAYERS
Reply
#5

Change
Код:
for(new i = 0; i < MAX_PLAYERS, i++)
To
Код:
for(new i = 0; i < MAX_PLAYERS; i++)
Reply
#6

oh lol , sorry for my "idiot"-ness. xD
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)