20.11.2012, 17:08
If i change to variable:
if(PlayerInfo[playerid][pAdmin] == 1)) return SendClientMessage(playerid, 0xDEEE20FF, "You're not an administrator!");
I got many errors:
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 556) : error 029: invalid expression, assumed zero
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 556) : warning 215: expression has no effect
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 556) : error 001: expected token: ";", but found "return"
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 557) : warning 225: unreachable code
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 557) : error 029: invalid expression, assumed zero
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 557) : warning 215: expression has no effect
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 557) : error 001: expected token: ";", but found "if"
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 55 : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
And i got the same problem:
I doesn't ban my self, i ban another nick.
if(PlayerInfo[playerid][pAdmin] == 1)) return SendClientMessage(playerid, 0xDEEE20FF, "You're not an administrator!");
I got many errors:
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 556) : error 029: invalid expression, assumed zero
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 556) : warning 215: expression has no effect
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 556) : error 001: expected token: ";", but found "return"
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 557) : warning 225: unreachable code
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 557) : error 029: invalid expression, assumed zero
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 557) : warning 215: expression has no effect
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 557) : error 001: expected token: ";", but found "if"
C:\Users\Lauryno\Desktop\Servas\gamemodes\bom.pwn( 55 : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
And i got the same problem:
I doesn't ban my self, i ban another nick.