So hier:
Line 5737: RobTimer[playerid] = -1; AntiRobTimer[playerid] = 0; TeamRadar[playerid] = 0; BNDRadar[playerid] = 0; MullManOwned[playerid] = -1; ServerTutCP[playerid] = 0;
Line 21050: format(var, sizeof(var), "`BNDRadar`='%d', ", BNDRadar[playerid]); strcat(endstring, var, sizeof(endstring));
{
if(BNDRadar[forplayerid] == 1)
{
for(new i = 0; i < sizeof(BNDSystemInfo); i++)
{
if(BNDSystemInfo[BNDActive] == 1)
{
new Team1 = BNDSystemInfo[BNDTeam1ID], Team2 = BNDSystemInfo[BNDTeam2ID];
if((Team1 == PlayerInfo[playerid][pTeam] && Team2 == PlayerInfo[forplayerid][pTeam]) || (Team1 == PlayerInfo[forplayerid][pTeam] && Team2 == PlayerInfo[playerid][pTeam]))
{
SetPlayerMarkerForPlayer(forplayerid,playerid,0x00FF00FF);
}
}
}
}
}
___________________________________
ocmd:bndradar(playerid, params[])
{
if(PlayerInfo[playerid][pTeam] == -1) return SendClientMessage(playerid, COLOR_ERRORTEXT, "Du bist in keiner Gang!");
if(IsACop(playerid)) return SendClientMessage(playerid, COLOR_ERRORTEXT, " Nicht für Cops möglich, Ihr seht euch schon auf dem Radar !");
if(BNDRadar[playerid] == 1) { BNDRadar[playerid] = 0; SendClientMessage(playerid, COLOR_YELLOW, "Mitglieder deiner Bündnissen von der MiniMap entfernt!"); }
else
{
for(new i = 0; i < sizeof(BNDSystemInfo); i++)
{
if(BNDSystemInfo[BNDActive] == 1)
{
for(new p; p<MAX_PLAYERS; p++)
{
new Team1 = BNDSystemInfo[BNDTeam1ID], Team2 = BNDSystemInfo[BNDTeam2ID];
if((Team1 == PlayerInfo[playerid][pTeam] && Team2 == PlayerInfo[p][pTeam]) || (Team1 == PlayerInfo[p][pTeam] && Team2 == PlayerInfo[playerid][pTeam]))
{
SetPlayerMarkerForPlayer(playerid,p,0x00FF00FF);
}
}
}
}
BNDRadar[playerid] = 1;
SendClientMessage(playerid, COLOR_YELLOW, "Du siehst nun deine Bündnisse auf dem Radar !");
}
return 1;
}
________________________________
Die Errors:
C:\Users\Thomas\Desktop\Jana\LsR Server\gamemodes\LifeofRoleplay.pwn(8478) : warning 213: tag mismatch
C:\Users\Thomas\Desktop\Jana\LsR Server\gamemodes\LifeofRoleplay.pwn(12536) : warning 213: tag mismatch
C:\Users\Thomas\Desktop\Jana\LsR Server\gamemodes\LifeofRoleplay.pwn(31294) : warning 213: tag mismatch
C:\Users\Thomas\Desktop\Jana\LsR Server\gamemodes\LifeofRoleplay.pwn(55946) : error 017: undefined symbol "forplayerid"
C:\Users\Thomas\Desktop\Jana\LsR Server\gamemodes\LifeofRoleplay.pwn(55953) : error 017: undefined symbol "forplayerid"
C:\Users\Thomas\Desktop\Jana\LsR Server\gamemodes\LifeofRoleplay.pwn(55955) : error 017: undefined symbol "forplayerid"
C:\Users\Thomas\Desktop\Jana\LsR Server\gamemodes\LifeofRoleplay.pwn(55961) : error 055: start of function body without function header
C:\Users\Thomas\Desktop\Jana\LsR Server\gamemodes\LifeofRoleplay.pwn(55963) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.