08.02.2018, 23:24
Hello,
i just created a little pm system, where admin can read messages, that players send to each other.
part of the pm system (where admins can read messages) is here:
Error line 2591 is the first line in code above (loop).
the errors are:
for any help i am thankful
i just created a little pm system, where admin can read messages, that players send to each other.
part of the pm system (where admins can read messages) is here:
PHP код:
for(new i = 0; < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pAdmin] > 0)
{
format(adminovi, sizeof(adminovi), "%s -> %s: %s", GetName(playerid), GetName(targetid), text);
SendClientMessage(i, ADMIN, adminovi);
}
}
the errors are:
Код:
(2591) : error 029: invalid expression, assumed zero (2591) : warning 215: expression has no effect (2591) : error 001: expected token: ")", but found ";" (2591) : error 036: empty statement (2591) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.