22.05.2016, 17:19
Quote:
^
Код:
C:\Users\Marius\Desktop\GM\gamemodes\GM.pwn(251) : error 028: invalid subscript (not an array or too many subscripts): "PlayerInfo" C:\Users\Marius\Desktop\GM\gamemodes\GM.pwn(251) : warning 215: expression has no effect C:\Users\Marius\Desktop\GM\gamemodes\GM.pwn(251) : error 001: expected token: ";", but found "]" C:\Users\Marius\Desktop\GM\gamemodes\GM.pwn(251) : error 029: invalid expression, assumed zero C:\Users\Marius\Desktop\GM\gamemodes\GM.pwn(251) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
I added nothing more except the local strings which I mentioned they shouldn't be declared as globals too.
Quote:
Код:
if (!(1 <= level <= 1339)) return SendClientMessage(playerid, -1, "Invalid level. It must be between 1 and 1339"); |
pawn Код:
if (!(1 <= level <= 4) && !(1337 <= level <= 1338)) return SendClientMessage(playerid, -1, "Invalid level. It must be between 1-4 and 1337-1338");