Hey liebe Community,
ich bekomme immer einen Error bei folgendem Code:
if(ArenaSlot[1] < 5)
{
SpielerIstInQueue[playerid] = 1;
ArenaSlot[1] ++;
SetPVarInt(playerid,"Team1",1);
}
else if(ArenaSlot[1] > 4 || <10) // Hier der ERROR
{
SpielerIstInQueue[playerid] = 1;
ArenaSlot[1] ++;
SetPVarInt(playerid,"Team2",1);
}
Error:
C:\Users\Hagz\Sa-mp scripts\ma server\gamemodes\gamemode.pwn(457) : error 010: invalid function or declaration
C:\Users\Hagz\Sa-mp scripts\ma server\gamemodes\gamemode.pwn(463) : error 010: invalid function or declaration
C:\Users\Hagz\Sa-mp scripts\ma server\gamemodes\gamemode.pwn(487) : error 029: invalid expression, assumed zero
C:\Users\Hagz\Sa-mp scripts\ma server\gamemodes\gamemode.pwn(487) : warning 215: expression has no effect
C:\Users\Hagz\Sa-mp scripts\ma server\gamemodes\gamemode.pwn(487) : error 001: expected token: ";", but found ")"
C:\Users\Hagz\Sa-mp scripts\ma server\gamemodes\gamemode.pwn(487) : error 029: invalid expression, assumed zero
C:\Users\Hagz\Sa-mp scripts\ma server\gamemodes\gamemode.pwn(487) : fatal error 107: too many error messages on one line
Bin ich heute wieder extrem Blind oder was mach ich falsch?