C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649) : warning 204: symbol is assigned a value that is never used: "killerteam" C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6897) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6899) : warning 218: old style prototypes used with optional semicolumns C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6900) : error 054: unmatched closing brace ("}") C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6901) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6901) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
killerteam = gTeam[killerid];
Soga[playerid] = 0;
Alambre[playerid] = 0;
Cuchilla[playerid] = 0;
gPlayerSpawned[playerid] = 0;
PlayerInfo[playerid][pCinturon] = 0;
AirRoute[playerid] = 0;
TrainRoute[playerid] = 0;
PractisingCar[playerid] = 0;
PlayerInfo[playerid][pInvWeapon] = 0;
PlayerInfo[playerid][pInvAmmo] = 0;
GetPlayerName(playerid, name, sizeof(name));
PlayerInfo[playerid][pLocal] = 255;
GetPlayerPos(playerid, px, py, pz);
ConCas[playerid] = 0;
LPuestos[playerid] = 0;
if(killerid != 255)
{
if(GetPlayerState(killerid) == 2)
{
if(ProxDetectorS(20, killerid, playerid))
{
if(!IsPlayerInAnyVehicle(playerid))
{
if(PlayerInfo[killerid][pMember] == 1||PlayerInfo[killerid][pLeader] == 1||PlayerInfo[killerid][pMember] == 2||PlayerInfo[killerid][pLeader] ==2)
{
SendClientMessage(killerid, COLOR_YELLOW, "Deja el Drive-By.. ЎPuedes Ser Sancionado por un administrador!.");
return 1;
}
SetPlayerCriminal(killerid,255,"Homicidio tentativo");
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid)+1);
return 1;
}
}
}
}
if (gPlayerCheckpointStatus[playerid] > 4 && gPlayerCheckpointStatus[playerid] < 11)
{
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
}
new caller = Mobile[playerid];
if(caller != 255)
{
if(caller < 255)
{
SendClientMessage(caller, COLOR_GRAD2, " The line just went dead...");
CellTime[caller] = 0;
CellTime[playerid] = 0;
Mobile[caller] = 255;
}
Mobile[playerid] = 255;
CellTime[playerid] = 0;
}
ClearCrime(playerid);
if(PlayerPaintballing[playerid] != 0)
{
PlayerPaintballKills[killerid] ++;
if(PlayerPaintballKills[killerid] > PaintballWinnerKills)
{
new killer[MAX_PLAYER_NAME];
PaintballWinner = killerid;
PaintballWinnerKills = PlayerPaintballKills[killerid];
GetPlayerName(killerid, killer, sizeof(killer));
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerPaintballing[i] != 0)
{
format(string, sizeof(string), "* %s esta a la cabeza con %d asesinatos.",killer,PaintballWinnerKills);
SendClientMessage(i, COLOR_WHITE, string);
}
}
}
}
return 1;
}
if(PlayerInfo[playerid][pHeadValue] > 0)
{
if(IsPlayerConnected(killerid))
{
if(gTeam[killerid] == 10 || PlayerInfo[killerid][pLeader] == 8)
{
if(GoChase[killerid] == playerid)
{
new killer[MAX_PLAYER_NAME];
GetPlayerName(killerid, killer, sizeof(killer));
SafeGivePlayerMoney(killerid, PlayerInfo[playerid][pHeadValue]);
format(string,128,"<< EPSI: %s ha echo un contrato %s y recolecto $%d >>",killer,name,PlayerInfo[playerid][pHeadValue]);
SendFamilyMessage(8, COLOR_YELLOW, string);
PlayerInfo[playerid][pHeadValue] = 0;
GotHit[playerid] = 0;
GetChased[playerid] = 999;
GoChase[killerid] = 999;
}
}
}
}
if(victimteam >= 4)
{
if(IsPlayerConnected(killerid))
{
new slice = 100;
playercash = GetPlayerMoney(playerid);
if(gTeam[killerid] != 2) { WantedPoints[killerid] += 2; }
if(SafeTime[playerid] <= 0)
{
if(gTeam[killerid] != gTeam[playerid])
{
if(GetPlayerState(killerid) == 1)
{
PlayerInfo[killerid][pKills] = PlayerInfo[killerid][pKills] + 2;
}
else
{
PlayerInfo[killerid][pKills]++;
}
PlayerInfo[playerid][pKills]--;
}
}
if (((gTeam[killerid]) == 1) || ((gTeam[killerid]) == 3 && civnokill) || (gTeam[killerid] == gTeam[playerid] && gTeam[playerid] != 4))
{
slice = 0;
}
if (((gTeam[killerid]) != 4) && ((gTeam[killerid]) == gTeam[playerid]))
{
slice = 0;
}
if (playercash > 0)
{
SafeGivePlayerMoney(playerid, -slice);
}
else
{
slice = slice+500;
}
PlayerPlaySound(killerid, 1083, 0.0, 0.0, 0.0);
if (((gTeam[killerid]) == 3) && reason != 49)
{
SetPlayerCriminal(killerid,255, "Asesinato de primer grado");
}
else if (((gTeam[killerid]) == 3) && reason == 49)
{
SetPlayerCriminal(killerid,255, "Intentar escapar");
}
}
}
else if (victimteam == 2)
{
if(IsPlayerConnected(killerid))
{
PlayerInfo[playerid][pKills]--;
if (gTeam[killerid] == 2)
{
PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
SafeGivePlayerMoney(killerid, -suecost);
SafeGivePlayerMoney(playerid, suecost+100);
}
else
{
}
if (gTeam[killerid] >= 3)
{
WantedPoints[killerid] += 2;
if(reason != 49)
{
SetPlayerCriminal(killerid,255, "Asesinato de primer grado");
}
else if (reason == 49)
{
SetPlayerCriminal(killerid,255, "Intentar escapar");
}
}
if(gTeam[killerid] >= 5 && SafeTime[playerid] <= 0)
{
if(GetPlayerState(killerid) == 1)
{
PlayerInfo[killerid][pKills] = PlayerInfo[killerid][pKills]+2;
}
else
{
PlayerInfo[killerid][pKills]++;
}
WantedPoints[killerid]+=2;
}
}
}
else if (victimteam == 3)
{
if(IsPlayerConnected(killerid))
{
if ((gTeam[killerid]) == 2)
{
if(WantedLevel[playerid] < 1)
{
PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
SafeGivePlayerMoney(killerid, -suecost);
SafeGivePlayerMoney(playerid, suecost+10);
}
}
else
{
WantedPoints[killerid] += 2;
}
if (((gTeam[killerid]) >= 3 || (gTeam[killerid]) == 1) && reason != 49)
{
SetPlayerCriminal(killerid,255, "Asesinato de primer grado");
}
else if (((gTeam[killerid]) >= 3 || (gTeam[killerid]) == 1) && reason == 49)
{
SetPlayerCriminal(killerid,255, "Intentar escapar");
}
}
}
else if (victimteam == 1)
{
if(IsPlayerConnected(killerid))
{
if ((gTeam[killerid]) == 2)
{
PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
SafeGivePlayerMoney(killerid, -suecost);
SafeGivePlayerMoney(playerid, suecost+10);
}
else if ((gTeam[killerid]) == 1)
{
PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
SafeGivePlayerMoney(killerid, -suecost);
SafeGivePlayerMoney(playerid, suecost+10);
}
else
{
}
if (((gTeam[killerid]) == 4) && reason != 49)
{
SetPlayerCriminal(killerid,255, "Asesinato de primer grado");
}
else if (((gTeam[killerid]) == 3) && reason == 49)
{
SetPlayerCriminal(killerid,255, "Intentar escapar");
}
}
}
return 1;
}
if (victimteam >= 3 && WantedPoints[playerid] > 0 && killerteam == 2)
{
SetPlayerFree(playerid,killerid, "Got Killed");
}
if (BusrouteEast[playerid][0] != 0 || BusrouteWest[playerid][0] != 0)
Soga[playerid] = 0;
Alambre[playerid] = 0;
Cuchilla[playerid] = 0;
gPlayerSpawned[playerid] = 0;
PlayerInfo[playerid][pCinturon] = 0;
AirRoute[playerid] = 0;
TrainRoute[playerid] = 0;
PractisingCar[playerid] = 0;
PlayerInfo[playerid][pInvWeapon] = 0;
PlayerInfo[playerid][pInvAmmo] = 0;
GetPlayerName(playerid, name, sizeof(name));
PlayerInfo[playerid][pLocal] = 255;
GetPlayerPos(playerid, px, py, pz);
ConCas[playerid] = 0;
LPuestos[playerid] = 0;
if(killerid != 255)
{
if(GetPlayerState(killerid) == 2)
{
if(ProxDetectorS(20, killerid, playerid))
{
if(!IsPlayerInAnyVehicle(playerid))
{
if(PlayerInfo[killerid][pMember] == 1||PlayerInfo[killerid][pLeader] == 1||PlayerInfo[killerid][pMember] == 2||PlayerInfo[killerid][pLeader] ==2)
{
SendClientMessage(killerid, COLOR_YELLOW, "Deja el Drive-By.. ЎPuedes Ser Sancionado por un administrador!.");
return 1;
}
SetPlayerCriminal(killerid,255,"Homicidio tentativo");
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid)+1);
return 1;
}
}
}
}
if (gPlayerCheckpointStatus[playerid] > 4 && gPlayerCheckpointStatus[playerid] < 11)
{
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
}
new caller = Mobile[playerid];
if(caller != 255)
{
if(caller < 255)
{
SendClientMessage(caller, COLOR_GRAD2, " The line just went dead...");
CellTime[caller] = 0;
CellTime[playerid] = 0;
Mobile[caller] = 255;
}
Mobile[playerid] = 255;
CellTime[playerid] = 0;
}
ClearCrime(playerid);
if(PlayerPaintballing[playerid] != 0)
{
PlayerPaintballKills[killerid] ++;
if(PlayerPaintballKills[killerid] > PaintballWinnerKills)
{
new killer[MAX_PLAYER_NAME];
PaintballWinner = killerid;
PaintballWinnerKills = PlayerPaintballKills[killerid];
GetPlayerName(killerid, killer, sizeof(killer));
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerPaintballing[i] != 0)
{
format(string, sizeof(string), "* %s esta a la cabeza con %d asesinatos.",killer,PaintballWinnerKills);
SendClientMessage(i, COLOR_WHITE, string);
}
}
}
}
return 1;
}
if(PlayerInfo[playerid][pHeadValue] > 0)
{
if(IsPlayerConnected(killerid))
{
if(gTeam[killerid] == 10 || PlayerInfo[killerid][pLeader] == 8)
{
if(GoChase[killerid] == playerid)
{
new killer[MAX_PLAYER_NAME];
GetPlayerName(killerid, killer, sizeof(killer));
SafeGivePlayerMoney(killerid, PlayerInfo[playerid][pHeadValue]);
format(string,128,"<< EPSI: %s ha echo un contrato %s y recolecto $%d >>",killer,name,PlayerInfo[playerid][pHeadValue]);
SendFamilyMessage(8, COLOR_YELLOW, string);
PlayerInfo[playerid][pHeadValue] = 0;
GotHit[playerid] = 0;
GetChased[playerid] = 999;
GoChase[killerid] = 999;
}
}
}
}
if(victimteam >= 4)
{
if(IsPlayerConnected(killerid))
{
new slice = 100;
playercash = GetPlayerMoney(playerid);
if(gTeam[killerid] != 2) { WantedPoints[killerid] += 2; }
if(SafeTime[playerid] <= 0)
{
if(gTeam[killerid] != gTeam[playerid])
{
if(GetPlayerState(killerid) == 1)
{
PlayerInfo[killerid][pKills] = PlayerInfo[killerid][pKills] + 2;
}
else
{
PlayerInfo[killerid][pKills]++;
}
PlayerInfo[playerid][pKills]--;
}
}
if (((gTeam[killerid]) == 1) || ((gTeam[killerid]) == 3 && civnokill) || (gTeam[killerid] == gTeam[playerid] && gTeam[playerid] != 4))
{
slice = 0;
}
if (((gTeam[killerid]) != 4) && ((gTeam[killerid]) == gTeam[playerid]))
{
slice = 0;
}
if (playercash > 0)
{
SafeGivePlayerMoney(playerid, -slice);
}
else
{
slice = slice+500;
}
PlayerPlaySound(killerid, 1083, 0.0, 0.0, 0.0);
if (((gTeam[killerid]) == 3) && reason != 49)
{
SetPlayerCriminal(killerid,255, "Asesinato de primer grado");
}
else if (((gTeam[killerid]) == 3) && reason == 49)
{
SetPlayerCriminal(killerid,255, "Intentar escapar");
}
}
}
else if (victimteam == 2)
{
if(IsPlayerConnected(killerid))
{
PlayerInfo[playerid][pKills]--;
if (gTeam[killerid] == 2)
{
PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
SafeGivePlayerMoney(killerid, -suecost);
SafeGivePlayerMoney(playerid, suecost+100);
}
if (gTeam[killerid] >= 3)
{
WantedPoints[killerid] += 2;
if(reason != 49)
{
SetPlayerCriminal(killerid,255, "Asesinato de primer grado");
}
else if (reason == 49)
{
SetPlayerCriminal(killerid,255, "Intentar escapar");
}
}
if(gTeam[killerid] >= 5 && SafeTime[playerid] <= 0)
{
if(GetPlayerState(killerid) == 1)
{
PlayerInfo[killerid][pKills] = PlayerInfo[killerid][pKills]+2;
}
else
{
PlayerInfo[killerid][pKills]++;
}
WantedPoints[killerid]+=2;
}
}
}
else if (victimteam == 3)
{
if(IsPlayerConnected(killerid))
{
if ((gTeam[killerid]) == 2)
{
if(WantedLevel[playerid] < 1)
{
PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
SafeGivePlayerMoney(killerid, -suecost);
SafeGivePlayerMoney(playerid, suecost+10);
}
}
else
{
WantedPoints[killerid] += 2;
}
if (((gTeam[killerid]) >= 3 || (gTeam[killerid]) == 1) && reason != 49)
{
SetPlayerCriminal(killerid,255, "Asesinato de primer grado");
}
else if (((gTeam[killerid]) >= 3 || (gTeam[killerid]) == 1) && reason == 49)
{
SetPlayerCriminal(killerid,255, "Intentar escapar");
}
}
}
else if (victimteam == 1)
{
if(IsPlayerConnected(killerid))
{
if ((gTeam[killerid]) == 2)
{
PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
SafeGivePlayerMoney(killerid, -suecost);
SafeGivePlayerMoney(playerid, suecost+10);
}
else if ((gTeam[killerid]) == 1)
{
PlayerPlaySound(killerid, 1084, 0.0, 0.0, 0.0);
SafeGivePlayerMoney(killerid, -suecost);
SafeGivePlayerMoney(playerid, suecost+10);
}
if (((gTeam[killerid]) == 4) && reason != 49)
{
SetPlayerCriminal(killerid,255, "Asesinato de primer grado");
}
else if (((gTeam[killerid]) == 3) && reason == 49)
{
SetPlayerCriminal(killerid,255, "Intentar escapar");
}
}
}
return 1;
}
if (victimteam >= 3 && WantedPoints[playerid] > 0 && killerteam == 2)
{
SetPlayerFree(playerid,killerid, "Got Killed");
}
if (BusrouteEast[playerid][0] != 0 || BusrouteWest[playerid][0] != 0)
C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649) : warning 204: symbol is assigned a value that is never used: "killerteam" C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6891) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6893) : warning 218: old style prototypes used with optional semicolumns C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6894) : error 054: unmatched closing brace ("}") C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6895) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6895) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
me sigue tirando los mismos errores :S
Код:
C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649) : warning 204: symbol is assigned a value that is never used: "killerteam" C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6891) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6893) : warning 218: old style prototypes used with optional semicolumns C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6894) : error 054: unmatched closing brace ("}") C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6895) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6649 -- 6895) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
static gTeam[MAX_PLAYERS];
new killerteam;
killerteam = gTeam[killerid];
C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6666) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6668) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6670) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6670) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Gracias por eso , pero... ahora me tira estos errores:
Код:
C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6666) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6668) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6670) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6670) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
if(killerid != 255) { if(GetPlayerState(killerid) == 2) {
if(killerid != 255)
{
if(GetPlayerState(killerid) == 2)
{
if(ProxDetectorS(20, killerid, playerid))
{
if(!IsPlayerInAnyVehicle(playerid))
{
if(PlayerInfo[killerid][pMember] == 1||PlayerInfo[killerid][pLeader] == 1||PlayerInfo[killerid][pMember] == 2||PlayerInfo[killerid][pLeader] ==2)
{
SendClientMessage(killerid, COLOR_YELLOW, "Deja el Drive-By.. ЎPuedes Ser Sancionado por un administrador!.");
return 1;
}
SetPlayerCriminal(killerid,255,"Homicidio tentativo");
SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid)+1);
return 1;
}
}
}
}
if(killerid != 255) if(GetPlayerState(killerid) == 2) if(ProxDetectorS(20, killerid, playerid)) if(!IsPlayerInAnyVehicle(playerid)) { if(PlayerInfo[killerid][pMember] == 1||PlayerInfo[killerid][pLeader] == 1||PlayerInfo[killerid][pMember] == 2||PlayerInfo[killerid][pLeader] ==2) { SendClientMessage(killerid, COLOR_YELLOW, "Deja el Drive-By.. ЎPuedes Ser Sancionado por un administrador!."); return 1; } SetPlayerCriminal(killerid,255,"Homicidio tentativo"); SetPlayerWantedLevel(killerid, GetPlayerWantedLevel(killerid)+1); return 1; } } } }
C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6669) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6670) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6671) : error 010: invalid function or declaration C:\Users\Karim\Desktop\GM Real Second Life RP 0.3d\gamemodes\CiudadMaravilla.pwn(6642 -- 6671) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.