Hallo,
ich kriege bei dieser Funktion paar Errors:
stock IsPlayerNationLeader(playerid)
{
if(IsPlayerCop(playerid) && GetPVarInt(playerid,"Leader") == 1 ||GetPVarInt(playerid,"Leader") == 2)||GetPVarInt(playerid,"Leader") == 3)return 1;
return 0;
}
Die Errors:
C:\DOKUME~1\OSMANP~1\Desktop\Dosyalar\Muho\NEUERO~2\GAMEMO~1\Muho.pwn(917) : error 029: invalid expression, assumed zero
C:\DOKUME~1\OSMANP~1\Desktop\Dosyalar\Muho\NEUERO~2\GAMEMO~1\Muho.pwn(917) : warning 215: expression has no effect
C:\DOKUME~1\OSMANP~1\Desktop\Dosyalar\Muho\NEUERO~2\GAMEMO~1\Muho.pwn(917) : error 001: expected token: ";", but found ")"
C:\DOKUME~1\OSMANP~1\Desktop\Dosyalar\Muho\NEUERO~2\GAMEMO~1\Muho.pwn(917) : error 029: invalid expression, assumed zero
C:\DOKUME~1\OSMANP~1\Desktop\Dosyalar\Muho\NEUERO~2\GAMEMO~1\Muho.pwn(917) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.