Makeadmin help
#10

Quote:
Originally Posted by JXF
Посмотреть сообщение
^
Код:
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.
So you basically tried to copy-paste the original command into the script? That won't work, you'll have to modify it for your needs (your variables etc).
I added nothing more except the local strings which I mentioned they shouldn't be declared as globals too.

Quote:
Originally Posted by CSLangdale
Посмотреть сообщение
Код:
 if (!(1 <= level <= 1339)) return SendClientMessage(playerid, -1, "Invalid level. It must be between 1 and 1339");
As he said 1-4 and 1337-1338, it'd be:
pawn Код:
if (!(1 <= level <= 4) && !(1337 <= level <= 1338)) return SendClientMessage(playerid, -1, "Invalid level. It must be between 1-4 and 1337-1338");
Reply


Messages In This Thread
Makeadmin help - by JXF - 22.05.2016, 12:51
Re: Makeadmin help - by MBilal - 22.05.2016, 12:56
Re: Makeadmin help - by iKevin - 22.05.2016, 12:58
Re: Makeadmin help - by JXF - 22.05.2016, 13:43
Re: Makeadmin help - by MBilal - 22.05.2016, 13:59
Re: Makeadmin help - by J0sh... - 22.05.2016, 14:18
Re: Makeadmin help - by Konstantinos - 22.05.2016, 14:18
Re: Makeadmin help - by JXF - 22.05.2016, 14:32
Re: Makeadmin help - by CSLangdale - 22.05.2016, 16:28
Re: Makeadmin help - by Konstantinos - 22.05.2016, 17:19

Forum Jump:


Users browsing this thread: 3 Guest(s)