Heey ich habe mal wieder ein problem ich habe 4 errors was ich nicht weg bekomme
hoffe es reicht (die zeile vom error)
if(IsPlayerConnected(killerid) && !isFight[killerid])
{
new playerfaction = GetPlayerFaction(playerid);
new killerfaction = GetPlayerFaction(killerid);
for(new war;war<MAX_WARS;war++)
{
if(WarInfo[killerfaction][war] && WarInfo[killerfaction][war] == playerfaction)
{
GameTextForPlayer(killerid,"~g~GANGWAR - KILL",4444,3);
GameTextForPlayer(playerid,"~r~GANGWAR - KILL",4444,3);
isFight[killerid] = 2;
break;
}
if(WarInfo[playerfaction][war] && WarInfo[playerfaction][war] == killerfaction)
{
GameTextForPlayer(killerid,"~g~GANGWAR - KILL",4444,3);
GameTextForPlayer(playerid,"~r~GANGWAR - KILL",4444,3);
isFight[killerid] = 2;
break;
}
}
}
so und das ist die error anzeige
C:\Users\ùáääëäüäùáë\Desktop\Dark Messiahs\0.3e Server\gamemodes\MR.pwn(5783) : error 029: invalid expression, assumed zero
C:\Users\ùáääëäüäùáë\Desktop\Dark Messiahs\0.3e Server\gamemodes\MR.pwn(5783) : warning 215: expression has no effect
C:\Users\ùáääëäüäùáë\Desktop\Dark Messiahs\0.3e Server\gamemodes\MR.pwn(5783) : error 001: expected token: ";", but found "]"
C:\Users\ùáääëäüäùáë\Desktop\Dark Messiahs\0.3e Server\gamemodes\MR.pwn(5783) : error 029: invalid expression, assumed zero
C:\Users\ùáääëäüäùáë\Desktop\Dark Messiahs\0.3e Server\gamemodes\MR.pwn(5783) : 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.
So ch würede mich über eine positive antwort freuen