Hallo,
C:\Users\Nick\Desktop\---\gamemodes\-.pwn(23891) : error 001: expected token: ")", but found "["
C:\Users\Nick\Desktop\---\gamemodes\-.pwn(23891) : error 029: invalid expression, assumed zero
C:\Users\Nick\Desktop\---\gamemodes\-.pwn(23891) : warning 215: expression has no effect
C:\Users\Nick\Desktop\---\gamemodes\-.pwn(23891) : error 001: expected token: ";", but found "]"
C:\Users\Nick\Desktop\---\gamemodes\-.pwn(23891) : 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.
if(FightSystem[TempZone][fsOwnerFaction] == GetPlayerFaction(playerid) || FightSystem[TempZone][fsAttackFaction] == GetPlayerFaction(playerid)){
if(IsPlayerInRangeOfPoint(playerid,5.0,FightSystem[TempZone][fsCTFx],FightSystem[TempZone][fsCTFy],FightSystem[TempZone][fsCTFz])){
if(FightSystem[TempZone][fsCTF][0] != -255){//[size=36]Error&WarningZeile[/size]
if(GetPlayerFaction(FightSystem[TempZone][fsCTF][0]) != GetPlayerFaction(playerid))
SendClientMessage(playerid,FS_COL_GREY,"Gangwar: Deine Gegnerische Fraktion greift schon diese Flagge an, tötet ihn!");
else
SendClientMessage(playerid,FS_COL_GREY,"Gangwar: Deine Fraktion greift schon die Flagge an.");
return 1;
}
FightSystem[TempZone][fsCTF][0] = playerid;
new fsName[MAX_PLAYER_NAME];
new labeltext[128];
GetPlayerName(playerid,fsName,MAX_PLAYER_NAME);
new fsText[128];
format(labeltext,sizeof(labeltext),"%s\nerobert die Flagge 1\nEinnahme in %d Sekunden",fsName,30);
Update3DTextLabelText(FightSystem[TempZone][flag3d], GetZoneColorOfFaction(GetPlayerFaction(playerid)), labeltext);
for(new i;i<MAX_PLAYERS;i++){
if(IsPlayerConnected(i)){
if(GetPlayerFaction(i) == FightSystem[TempZone][fsOwnerFaction] || GetPlayerFaction(i) == FightSystem[TempZone][fsAttackFaction]){
PlayerPlaySound(i,1058,0.0,0.0,0.0);
SendClientMessage(i,FS_COL_YELLOW,fsText);
}
}
}