[POMOC] Izbacuje mi erore na compile

Započeo Duda97
22. Feb. 2011.
662
pregleda
4
postova
Duda97
3
Wheel Man
22. Feb. 2011.
Skripta koju koristim: FactionGame editujem
Detaljan opis problema: Ja sam prevodio game mod, menjo neke komande, prevodio sam nesto, nesto sam i dodao sto je bilo stavljeno u  /* takvoj stavki, ali ja sam jos uvek amater u skriptanju
Dio skripte: //
Neke slike/video za lakse dobivanje pomoci(neobavezno)://

evo vam i erori koje mi izbacuje :
D:\Modovi\FactionGame\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2057) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2083) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2113) : error 004: function "SafeResetPlayerWeapons" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2114) : error 004: function "SafeGivePlayerWeapon" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(213😎 : error 004: function "SafeResetPlayerWeapons" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2387) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2391) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2402) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2414) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(241😎 : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2430) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2434) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(243😎 : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2442) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2446) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2450) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2454) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(245😎 : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2462) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2466) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(247😎 : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2482) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2486) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2490) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2494) : error 004: function "PlayerToPoint" is not implemented
D:\Modovi\FactionGame\gamemodes\FactionGame.pwn(2506) : error 004: function "PlayerToPoint" is not implemented

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

26 Errors.

Ne razumem sta je to :S molim vas pomognite
mafica .pwn
4
Made Man
22. Feb. 2011.
Negdje nisi zatvorio zagradu.
EDIT:
Broj otvorenih { i zatvorenih } zagrada mora biti jednak.
Daj dio tja scripte ako neznas zatvorit pomoci cemo ti
Duda97
3
Wheel Man
22. Feb. 2011.
Hvala ti, samo neznam gde tacno trebam da zatvorim, :S evo vam deo :

public ExtortionBiz(bizid, money)
{
    new string;
    format(string, sizeof(string), "Niko");
    if(strcmp(BizzInfo,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(BizzInfo ,wstring, true ) == 0 )
{
    new value = money / 100;
    value = value * 10;
    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;
}
mafica .pwn
4
Made Man
22. Feb. 2011.
Evo ja sam samo ubacio i Compile/Run i nije bilo errora:

public ExtortionBiz(bizid, money)
{
    new string;
    format(string, sizeof(string), "Niko");
    if(strcmp(BizzInfo,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(BizzInfo ,wstring, true ) == 0 )
      {
          new value = money / 100;
          value = value * 10;
          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;
}

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha