[POMOC] Izbacuje mi Errore

Započeo NikolaTodorko
20. Feb. 2011.
1,461
pregleda
14
postova
NikolaTodorko
3
Wheel Man
20. Feb. 2011.
Skripta koju koristim:Balkan Underground
Detaljan opis problema: Ja sam sredjivao nesto oko mog GM-a (oko ovih errora sto je pokazalo nista nisam dirao) i sredjivao neke skinove .. mjestio bandi i kad sam compile ono mi izbaci 24 errora
Dio skripte:
Evo mali dio...

    SafeGivePlayerMoney(i, value);
    BizzInfo -= value;
}
}
return 1;
}

public ExtortionSBiz(bizid, money)
{
    new string;
    format(string, sizeof(string), "Niko");
    if(strcmp(SBizzInfo,string, true ) == 0 )
{
    return 0;
}
foreach (Player, i)
{
        new name;
new wstring;
GetPlayerName(i, name, sizeof(name));
format(string, sizeof(string), "%s", name);
strmid(wstring, string, 0, strlen(string), 255);
if(strcmp(SBizzInfo ,wstring, true ) == 0 )
{
    new value = money / 100;
    value = value * 10;
    SafeGivePlayerMoney(i, value);
    SBizzInfo -= value;
}
}
return 1;
}

public PreparePaintball()
{
foreach (Player, i)
{
        if(PlayerPaintballing != 0)
        {
            SendClientMessage(i, COLOR_YELLOW, "Paintball Mech ce poceti za 20 sekundi.");
        }
}
SetTimer("StartPaintball", 20000, 0);
return 1;
}

public StartPaintball()
{
PaintballRound = 1;
StartingPaintballRound = 0;
PaintballWinner = 999;
PaintballWinnerKills = 0;
foreach (Player, i)
{
        if(PlayerPaintballing != 0)
        {
            SafeResetPlayerWeapons(i);
            SafeGivePlayerWeapon(i, 29, 999);
            TogglePlayerControllable(i, 1);
            SendClientMessage(i, COLOR_YELLOW, "Paintball Mech je poceo, ostalo je jos 4 minuta.");
            PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
        }
}
SetTimer("PaintballEnded", 240000, 0);
return 1;
}

a evo sta pokazuje C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2056) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2082) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2112) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2113) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2137) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2229) : error 004: function "IsACopCar" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2240) : error 004: function "IsNgCar" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2251) : error 004: function "IsNpcVehicle" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2262) : error 004: function "IsAnAmbulance" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2265) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2267) : error 004: function "IsATank" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2270) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2386) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2390) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2401) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2413) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2417) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2429) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2433) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2437) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2441) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2445) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2449) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2453) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2457) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2461) : error 004: function "PlayerToPoint" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

26 Errors.
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Mike93
4
Enforcer
20. Feb. 2011.
Zaboravio si negdje zatvoriti zagradu "}".

Upamti: Broj otvorenih i zatvorenih zagrada "{" i "}" uvijek mora biti jednak.

i drugi puta pokusaj koristiti code.
NikolaTodorko
3
Wheel Man
20. Feb. 2011.
Pa nzm :S .. Ako moze da ti nekako send to pa ti ako mozes da sredis .. necu celi GM samo cu ti send to sta nije u redu .. Jer moze >?
Mike93
4
Enforcer
20. Feb. 2011.
NikolaTodorko wrote on February 20, 2011, 10:42 pm:
Pa nzm :S .. Ako moze da ti nekako send to pa ti ako mozes da sredis .. necu celi GM samo cu ti send to sta nije u redu .. Jer moze >?


to si me vec pitao u PM, pa sam ti rekao da postas ovdje linije na kojima ti javlja error, pa da vidim u cem si pogrijesio
NikolaTodorko
3
Wheel Man
20. Feb. 2011.
  new SafeGivePlayerMoney(i, value);
    BizzInfo -= value;
}
}
return 1;
}

public ExtortionSBiz(bizid, money)
{
    new string;
    format(string, sizeof(string), "Niko");
    if(strcmp(SBizzInfo,string, true ) == 0 )
{
    return 0;
}
foreach (Player, i)
{
        new name;
new wstring;
GetPlayerName(i, name, sizeof(name));
format(string, sizeof(string), "%s", name);
strmid(wstring, string, 0, strlen(string), 255);
if(strcmp(SBizzInfo ,wstring, true ) == 0 )
{
    new value = money / 100;
    value = value * 10;
    SafeGivePlayerMoney(i, value);
    SBizzInfo -= value;
}
}
return 1;
}

public PreparePaintball()
{
foreach (Player, i)
{
        if(PlayerPaintballing != 0)
        {
            SendClientMessage(i, COLOR_YELLOW, "Paintball Mech ce poceti za 20 sekundi.");
        }
}
SetTimer("StartPaintball", 20000, 0);
}
return 1;
}

public StartPaintball()
{
PaintballRound = 1;
StartingPaintballRound = 0;
PaintballWinner = 999;
PaintballWinnerKills = 0;
foreach (Player, i)
{
        if(PlayerPaintballing != 0)
        {
            SafeResetPlayerWeapons(i);
            SafeGivePlayerWeapon(i, 29, 999);
            TogglePlayerControllable(i, 1);
            SendClientMessage(i, COLOR_YELLOW, "Paintball Mech je poceo, ostalo je jos 4 minuta.");
            PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
        }
}
SetTimer("PaintballEnded", 240000, 0);
}
return 1;
}

public PaintballEnded()
{
new string;
new name;
foreach (Player, i)
{
        if(PlayerPaintballing != 0)
        {
            if(IsPlayerConnected(PaintballWinner))
            {
                GetPlayerName(PaintballWinner, name, sizeof(name));
                format(string,sizeof(string), "** %s je osvojio mech sa %d ubistava **",name,PaintballWinnerKills);
                SendClientMessage(i, COLOR_WHITE, string);
            }
            SafeResetPlayerWeapons(i);
            PlayerPaintballing = 0;
            SetPlayerPos(i, SBizzInfo,SBizzInfo,SBizzInfo);
        }
}
AnnouncedPaintballRound = 0;
    PaintballRound = 0;
    }
return 1;
}

public PrepareKarting()
{
foreach (Player, i)
{
        if(PlayerKarting != 0 && PlayerInKart != 0)
        {
            CP = 9;
SetPlayerCheckpoint(i,2308.3540,-2354.0039,12.6842,8.0);
SendClientMessage(i, COLOR_YELLOW, "Kart Race will start in 20 seconds, go to the starting line.");
        }
}
SetTimer("StartKarting", 20000, 0);
return 1;
}

public StartKarting()
{
KartingRound = 1;
StartingKartRound = 0;
EndingKartRound = 0;
FirstKartWinner = 999;
SecondKartWinner = 999;
ThirdKartWinner = 999;
foreach (Player, i)
{
        if(PlayerKarting != 0 && PlayerInKart != 0)
        {
            CP = 10;
            SendClientMessage(i, COLOR_YELLOW, "Green light, go go go !");
            PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
            SetPlayerCheckpoint(i,2308.3540,-2354.0039,12.6842,8.0);
        }
}
SetTimer("KartingEnded", 240000, 0);
return 1;
}

public KartingEnded()
{
foreach (Player, i)
{
        if(PlayerKarting != 0 && PlayerInKart != 0)
        {
            CP = 0;
            DisablePlayerCheckpoint(i);
        }
}
AnnouncedKartRound = 0;
    KartingRound = 0;
return 1;
}

public DollahScoreUpdate()
{
new LevScore;
foreach (Player, i)
{
LevScore = PlayerInfo;
SetPlayerScore(i, LevScore);
}
return 1;
}

public Encrypt(string[])
{
for(new x=0; x < strlen(string); x++)
  {
  string += (3^x) * (x % 15);
  if(string > (0xff))
  {
  string -= 256;
  }
  }
return 1;
}

//------------------------------------------------------------------------------------------------------

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(gTeam >= 1||gTeam >= 3||gTeam >= 4)
{
if (IsACopCar(vehicleid) && !ispassenger)
{
if(PlayerInfo==1||PlayerInfo==2||PlayerInfo==3||PlayerInfo==11||PlayerInfo==1||PlayerInfo==2||PlayerInfo==3||PlayerInfo==11) {}
    else {
//WantedPoints+=2;
//SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle");
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx,  cy, cz);
}
}
if (IsNgCar(vehicleid) && !ispassenger)
{
    if(PlayerInfo==1||PlayerInfo==2||PlayerInfo==3||PlayerInfo==1||PlayerInfo==2||PlayerInfo==3) {}
    else {
//WantedPoints+=2;
//SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle");
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx,  cy, cz);
}
}
if (IsNpcVehicle(vehicleid) && !ispassenger)
{
    if(PlayerInfo==100) {}
    else {
//WantedPoints+=2;
//SetPlayerCriminal(playerid,255, "Stealing A Police Vehicle");
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx,  cy, cz);
}
}
if (IsAnAmbulance(vehicleid) && !ispassenger)
{
    if(PlayerInfo==4||PlayerInfo==4) { }
    else { WantedPoints+=2; SetPlayerCriminal(playerid,255, "Kradja vozila hitne pomoci"); }
}
if (IsATank(vehicleid) && !ispassenger)
{
if(PlayerInfo==1||PlayerInfo==3||PlayerInfo==3) {}
    else { WantedPoints+=2; SetPlayerCriminal(playerid,255, "Kradja Tenka"); SendClientMessage(playerid, COLOR_GREY,"You don't know how to drive it yet."); }
}
if(IsAnOwnableCar(vehicleid) && CarInfo == 1 && CarInfo == 1)
{
    if(PlayerInfo >= 1337 && AdminDuty == 1) { }
    else
    {
    new Float:cx, Float:cy, Float:cz;
    GetPlayerPos(playerid, cx, cy, cz);
    SetPlayerPos(playerid, cx, cy, cz);
}
}
}
return 1;
}

/*public IsAnInstructor(playerid)
{
if(IsPlayerConnected(playerid))
{
    new leader = PlayerInfo;
    new member = PlayerInfo;
    if(member==11)
{
    return 1;
}
if(leader==11)
{
    return 1;
}
}
return 0;
}*/

public IsAMember(playerid)
{
if(IsPlayerConnected(playerid))
{
    new leader = PlayerInfo;
    new member = PlayerInfo;
    if(member==5 || member==6 || member==8 || member==12 || member==14 || member==15 || member==16)
{
    return 1;
}
if(leader==5 || leader==6 || leader==8 || leader==12 || leader==14 || leader==15 || leader==16)
{
    return 1;
}
}
return 0;
}

public IsACop(playerid)
{
if(IsPlayerConnected(playerid))
{
    new leader = PlayerInfo;
    new member = PlayerInfo;
    if(member==1 || member==2 || member==3 || member==11)
{
    return 1;
}
else if(leader==1 || leader==2 || leader==3 || leader==11)
{
    return 1;
}
}
return 0;
}

public IsAGang(playerid)
{
if(IsPlayerConnected(playerid))
{
    new leader = PlayerInfo;
    new member = PlayerInfo;
    if(member==5 || member==6 || member==8 || member==12 || member==15 || member==16)
{
    return 1;
}
else if(leader==5 || leader==6 || leader==8 || leader==12 || leader==15 || leader==16)
{
    return 1;
}
}
return 0;
}

public IsAPDMember(playerid)
{
if(IsPlayerConnected(playerid))
{
    new leader = PlayerInfo;
    new member = PlayerInfo;
    if(member==1 || member==11)
{
    return 1;
}
else if(leader==1 || leader==11)
{
    return 1;
}
}
return 0;
}

public IsAnOwnableCar(vehicleid)
{
if(vehicleid >= 230 && vehicleid <= 550) { return 1; }
return 0;
}

public IsAtDealership(playerid)
{
if(IsPlayerConnected(playerid))
{
    if(PlayerToPoint(30.0,playerid,1081.2784,-1751.6011,13.438😎 || PlayerToPoint(25.0,playerid,2128.0864,-1135.3912,25.5855) || PlayerToPoint(50,playerid,537.3366,-1293.2140,17.2422) || PlayerToPoint(35,playerid,2521.5544,-1524.4504,23.8365) || PlayerToPoint(50,playerid,2155.0146,-1177.3333,23.8211) || PlayerToPoint(50,playerid,299.1723,-1518.6627,24.6007) || PlayerToPoint(100,playerid,142.5537109375, -2002.1171875, 0.84999966621399) || PlayerToPoint(50,playerid,1048.8964,-904.7892,42.4164))
{
return 1;
}
else if(PlayerToPoint(5,playerid,1524.5046386719,-2459.6262207031,12.5546875) || PlayerToPoint(5,playerid,1606.0760498047,-2458.5505371094,12.5546855) || PlayerToPoint(5,playerid,1686.1015625000,-2458.8513183594,12.5546855) || PlayerToPoint(5,playerid,1765.3842773438,-2459.8420410156,12.5546875) || PlayerToPoint(5,playerid,1645.9104003906,-2458.6958007813,12.5546875) || PlayerToPoint(5,playerid,1727.7492675781,-2459.1301269531,12.5546875))
{
return 1;
}
}
return 0;
}
public IsAtCarrental(playerid)
{
if(IsPlayerConnected(playerid))
{
    if(PlayerToPoint(30.0,playerid,1696.5543,-1053.4685,23.9063))
{
return 1;
}
}
return 0;
}

public IsAtClothShop(playerid)
{
    if(IsPlayerConnected(playerid))
{
        if(PlayerToPoint(25.0,playerid,20.5627,-103.7291,1005.257😎 || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
//Binco & Suburban
    return 1;
}
else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
//Zip & Victim
    return 1;
}
}
return 0;
}

public IsAtGasStation(playerid)
{
    if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
//LS
    return 1;
}
else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
//LS
    return 1;
}
else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.949😎 || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
//SF
    return 1;
}
else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
//Between LS and SF
    return 1;
}
else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.525😎 || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.696😎)
//LV
    return 1;
}
else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))
//LV
    return 1;
}
else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
//LV
    return 1;
}

Tu mi pokazuje sve errore
Mike93
4
Enforcer
20. Feb. 2011.
mislim da ti na ovome ne valjaju zagrade. xD.
public PreparePaintball()
{
  foreach (Player, i)
  {
        if(PlayerPaintballing != 0)
        {
            SendClientMessage(i, COLOR_YELLOW, "Paintball Mech ce poceti za 20 sekundi.");
        }
  }
    SetTimer("StartPaintball", 20000, 0);
    }
  return 1;
}

public StartPaintball()
{
  PaintballRound = 1;
  StartingPaintballRound = 0;
  PaintballWinner = 999;
  PaintballWinnerKills = 0;
  foreach (Player, i)
  {
        if(PlayerPaintballing != 0)
        {
            SafeResetPlayerWeapons(i);
            SafeGivePlayerWeapon(i, 29, 999);
            TogglePlayerControllable(i, 1);
            SendClientMessage(i, COLOR_YELLOW, "Paintball Mech je poceo, ostalo je jos 4 minuta.");
            PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
        }
  }
  SetTimer("PaintballEnded", 240000, 0);
  }
  return 1;
}

public PaintballEnded()
{
  new string;
  new name;
  foreach (Player, i)
  {
        if(PlayerPaintballing != 0)
        {
            if(IsPlayerConnected(PaintballWinner))
            {
                GetPlayerName(PaintballWinner, name, sizeof(name));
                format(string,sizeof(string), "** %s je osvojio mech sa %d ubistava **",name,PaintballWinnerKills);
                SendClientMessage(i, COLOR_WHITE, string);
            }
            SafeResetPlayerWeapons(i);
            PlayerPaintballing = 0;
            SetPlayerPos(i, SBizzInfo,SBizzInfo,SBizzInfo);
        }
  }
  AnnouncedPaintballRound = 0;
    PaintballRound = 0;
    }
  return 1;
}


imas ih viska
NikolaTodorko
3
Wheel Man
20. Feb. 2011.
Ako mozes srediti ?  😮
Mike93
4
Enforcer
20. Feb. 2011.
NikolaTodorko wrote on February 20, 2011, 10:58 pm:
Ako mozes srediti ?  😮


evo ga. sredjeno. probaj.
public PreparePaintball()
{
foreach (Player, i)
{
if(PlayerPaintballing != 0)
{
SendClientMessage(i, COLOR_YELLOW, "Paintball Mech ce poceti za 20 sekundi.");
}
}
   SetTimer("StartPaintball", 20000, 0);
  return 1;
}

public StartPaintball()
{
PaintballRound = 1;
StartingPaintballRound = 0;
PaintballWinner = 999;
PaintballWinnerKills = 0;
foreach (Player, i)
{
if(PlayerPaintballing != 0)
{
SafeResetPlayerWeapons(i);
           SafeGivePlayerWeapon(i, 29, 999);
           TogglePlayerControllable(i, 1);
           SendClientMessage(i, COLOR_YELLOW, "Paintball Mech je poceo, ostalo je jos 4 minuta.");
           PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
}
}
SetTimer("PaintballEnded", 240000, 0);
return 1;
}

public PaintballEnded()
{
new string;
new name;
foreach (Player, i)
{
if(PlayerPaintballing != 0)
{
if(IsPlayerConnected(PaintballWinner))
{
GetPlayerName(PaintballWinner, name, sizeof(name));
               format(string,sizeof(string), "** %s je osvojio mech sa %d ubistava **",name,PaintballWinnerKills);
               SendClientMessage(i, COLOR_WHITE, string);
}
SafeResetPlayerWeapons(i);
           PlayerPaintballing = 0;
           SetPlayerPos(i, SBizzInfo,SBizzInfo,SBizzInfo);
}
}
AnnouncedPaintballRound = 0;
PaintballRound = 0;
return 1;
}


i drugi put koristi CODE.
NikolaTodorko
3
Wheel Man
20. Feb. 2011.
Evo sta mi sad izbacuje

C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2056) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2056) : error 004: function "PreparePaintball" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(205😎 : warning 219: local variable "i" shadows a variable at a preceding level
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2060) : error 033: array must be indexed (variable "PlayerPaintballing")
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2069) : warning 225: unreachable code
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2069) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2069) : error 004: function "StartPaintball" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2075) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2077) : error 033: array must be indexed (variable "PlayerPaintballing")
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2079) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2080) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2090) : warning 225: unreachable code
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2090) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2090) : error 004: function "PaintballEnded" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2092) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2093) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2094) : warning 219: local variable "i" shadows a variable at a preceding level
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2096) : error 033: array must be indexed (variable "PlayerPaintballing")
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2104) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2105) : error 033: array must be indexed (variable "PlayerPaintballing")
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2113) : warning 225: unreachable code
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2113) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2113) : warning 215: expression has no effect
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2113) : error 001: expected token: ";", but found "if"
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2113) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Nikola\Desktop\gamemodes\StaffofDreams.pwn(2113) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase

17 Errors.

To je ovo :

public PreparePaintball()
{
foreach (Player, i)
{
if(PlayerPaintballing != 0)
{
SendClientMessage(i, COLOR_YELLOW, "Paintball Mech ce poceti za 20 sekundi.");
}
}
    SetTimer("StartPaintball", 20000, 0);
  return 1;
}

public StartPaintball()
{
PaintballRound = 1;
StartingPaintballRound = 0;
PaintballWinner = 999;
PaintballWinnerKills = 0;
foreach (Player, i)
{
if(PlayerPaintballing != 0)
{
SafeResetPlayerWeapons(i);
            SafeGivePlayerWeapon(i, 29, 999);
            TogglePlayerControllable(i, 1);
            SendClientMessage(i, COLOR_YELLOW, "Paintball Mech je poceo, ostalo je jos 4 minuta.");
            PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
}
}
SetTimer("PaintballEnded", 240000, 0);
return 1;
}

public PaintballEnded()
{
new string;
new name;
foreach (Player, i)
{
if(PlayerPaintballing != 0)
{
if(IsPlayerConnected(PaintballWinner))
{
GetPlayerName(PaintballWinner, name, sizeof(name));
                format(string,sizeof(string), "** %s je osvojio mech sa %d ubistava **",name,PaintballWinnerKills);
                SendClientMessage(i, COLOR_WHITE, string);
}
SafeResetPlayerWeapons(i);
            PlayerPaintballing = 0;
            SetPlayerPos(i, SBizzInfo,SBizzInfo,SBizzInfo);
}
}
AnnouncedPaintballRound = 0;
PaintballRound = 0;
return 1;
}
else if(PlayerToPoint(8.0,playerid,656.4265,-559.8610,16.5015) || PlayerToPoint(6.0,playerid,656.3797,-570.4138,16.5015))
Mike93
4
Enforcer
20. Feb. 2011.
onda trebaju one zagrade sto sam obrisao. xD. a i sad me mal ovo zbunjuje.
NikolaTodorko
3
Wheel Man
20. Feb. 2011.
I mene .. Neznam sta da radim :@ .. Ako mozes srediti .. sredi .. moze i do sutra .. nije problem
Nxidza
5
Crime Lord
20. Feb. 2011.
A sto ti ne bi skinuo opet balkan underground mod i c/p stari u taj sto ti daje erore?Tako ti je najlakse,ovo sto si postao nmg da gledam jer nmg da se snadjem,stavi u code ...:S
NikolaTodorko
3
Wheel Man
21. Feb. 2011.
  public PreparePaintball()
{
  foreach (Player, i)
  {
      if(PlayerPaintballing != 0)
      {
          SendClientMessage(i, COLOR_YELLOW, "Paintball Mech ce poceti za 20 sekundi.");
      }
  }
    SetTimer("StartPaintball", 20000, 0);
      return 1;
}

public StartPaintball()
{
  PaintballRound = 1;
  StartingPaintballRound = 0;
  PaintballWinner = 999;
  PaintballWinnerKills = 0;
  foreach (Player, i)
  {
      if(PlayerPaintballing != 0)
      {
        SafeResetPlayerWeapons(i);
            SafeGivePlayerWeapon(i, 29, 999);
            TogglePlayerControllable(i, 1);
            SendClientMessage(i, COLOR_YELLOW, "Paintball Mech je poceo, ostalo je jos 4 minuta.");
            PlayerPlaySound(i, 1057, 0.0, 0.0, 0.0);
      }
  }
  SetTimer("PaintballEnded", 240000, 0);
  return 1;
}

public PaintballEnded()
{
  new string;
  new name;
  foreach (Player, i)
  {
      if(PlayerPaintballing != 0)
      {
        if(IsPlayerConnected(PaintballWinner))
        {
            GetPlayerName(PaintballWinner, name, sizeof(name));
                format(string,sizeof(string), "** %s je osvojio mech sa %d ubistava **",name,PaintballWinnerKills);
                SendClientMessage(i, COLOR_WHITE, string);
        }
        SafeResetPlayerWeapons(i);
            PlayerPaintballing = 0;
            SetPlayerPos(i, SBizzInfo,SBizzInfo,SBizzInfo);
      }
  }
  AnnouncedPaintballRound = 0;
  PaintballRound = 0;
  return 1;
}
      else if(PlayerToPoint(8.0,playerid,656.4265,-559.8610,16.5015) || PlayerToPoint(6.0,playerid,656.3797,-570.4138,16.5015))


Evo code ae molim vas pomozite
Cika
4
Shot Caller
21. Feb. 2011.
Hmm znas sto se zna desit?Kada probas compilat cita ti druge includese.Udi pod pawno od BUa i imas gore u kutu opciju da otvoris neku skriptu
i tu otvoris BU mode. Meni je bilo tako rjesio sam

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha