[Pomoc]Erori 26

Započeo Mirgo, Avgust 19, 2012, 18:53:32 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:GTA RP
Detaljan opis problema:26 erora nez gdje trebam dodati zagradu pokusavo cijeli dan ali nikako da skontam
Dio skripte:C:\Documents and Settings\PC\Desktop\DV RP\DV RP\DV RP\gamemodes\division-mirgo.pwn(3211) : error 004: function "SafeJBC_GivePlayerMoney" is not implemented
(3237) : error 004: function "SafeJBC_GivePlayerMoney" is not implemented
(3267) : error 004: function "SafeJBC_ResetPlayerWeapons" is not implemented
(3268) : error 004: function "SafeJBC_GivePlayerWeapon" is not implemented
(3292) : error 004: function "SafeJBC_ResetPlayerWeapons" is not implemented
(3423) : error 004: function "SetPlayerCriminal" is not implemented
(3428) : error 004: function "SetPlayerCriminal" is not implemented
(3544) : error 004: function "PlayerToPoint" is not implemented
(3548) : error 004: function "PlayerToPoint" is not implemented
(3559) : error 004: function "PlayerToPoint" is not implemented
(3571) : error 004: function "PlayerToPoint" is not implemented
(3575) : error 004: function "PlayerToPoint" is not implemented
(3587) : error 004: function "PlayerToPoint" is not implemented
(3591) : error 004: function "PlayerToPoint" is not implemented
(3595) : error 004: function "PlayerToPoint" is not implemented
(3599) : error 004: function "PlayerToPoint" is not implemented
(3603) : error 004: function "PlayerToPoint" is not implemented
(3607) : error 004: function "PlayerToPoint" is not implemented
(3611) : error 004: function "PlayerToPoint" is not implemented
(3615) : error 004: function "PlayerToPoint" is not implemented
3619) : error 004: function "PlayerToPoint" is not implemented
(3623) : error 004: function "PlayerToPoint" is not implemented
(3635) : error 004: function "PlayerToPoint" is not implemented
(3639) : error 004: function "PlayerToPoint" is not implemented
(3643) : error 004: function "PlayerToPoint" is not implemented
(3647) : 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):public ExtortionBiz(bizid, money)
{
    new string[256];
    format(string, sizeof(string), "Niko");
    if(strcmp(BizzInfo[bizid][bExtortion],string, true ) == 0 )
{
    return 0;
}
foreach (Player, i)
{
new name[MAX_PLAYER_NAME];
new wstring[MAX_PLAYER_NAME];
GetPlayerName(i, name, sizeof(name));
format(string, sizeof(string), "%s", name);
strmid(wstring, string, 0, strlen(string), 255);
if(strcmp(BizzInfo[bizid][bExtortion] ,wstring, true ) == 0 )
{
      new value = money / 100;
    value = value * 10;
    SafeJBC_GivePlayerMoney(i, value);
    BizzInfo[bizid][bTill] -= value;
}
}
return 1;
}

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

public PreparePaintball()
{
foreach (Player, i)
{
        if(PlayerPaintballing[i] != 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[i] != 0)
        {
            SafeJBC_ResetPlayerWeapons(i);
            SafeJBC_GivePlayerWeapon(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[256];
new name[MAX_PLAYER_NAME];
foreach (Player, i)
{
        if(PlayerPaintballing[i] != 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);
            }
            SafeJBC_ResetPlayerWeapons(i);
            PlayerPaintballing[i] = 0;
            JBC_SetPlayerPos(i, SBizzInfo[10][sbEntranceX],SBizzInfo[10][sbEntranceY],SBizzInfo[10][sbEntranceZ]);
        }
}
AnnouncedPaintballRound = 0;
    PaintballRound = 0;
return 1;
}
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    return 1;
}
public PrepareKarting()
{
foreach (Player, i)
{
        if(PlayerKarting[i] != 0 && PlayerInKart[i] != 0)
        {
            CP[i] = 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[i] != 0 && PlayerInKart[i] != 0)
        {
            CP[i] = 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[i] != 0 && PlayerInKart[i] != 0)
        {
            CP[i] = 0;
            DisablePlayerCheckpoint(i);
        }
}
AnnouncedKartRound = 0;
    KartingRound = 0;
return 1;
}

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

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

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

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

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

public IsAMember(playerid)
{
if(IsPlayerConnected(playerid))
{
    new leader = PlayerInfo[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    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[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    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[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    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[playerid][pLeader];
    new member = PlayerInfo[playerid][pMember];
    if(member==1 || member==11)
{
    return 1;
}
else if(leader==1 || leader==11)
{
    return 1;
}
}
return 0;
}

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

public IsAtDealership(playerid)
{
if(IsPlayerConnected(playerid))
{
    if(PlayerToPoint(30.0,playerid,1081.2784,-1751.6011,13.4388) || 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(25.0,playerid,1661.0437,-1108.8846,23.9063) || 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.2578) || 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.9498) || 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.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))
{//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;
}
else if(PlayerToPoint(8.0,playerid,656.4265,-559.8610,16.5015) || PlayerToPoint(6.0,playerid,656.3797,-570.4138,16.5015))
{//Dillimore
    return 1;
}
else if(PlayerToPoint(8.0,playerid,125.2434463501, -1935.9764404297, 2.6310691833496) || PlayerToPoint(8.0,playerid,133.91174316406, -1941.7890625, 2.6310691833496))
{//Pumpa za Helice
    return 1;
}
else if(PlayerToPoint(8.0,playerid,1004.1514892578, -936.96557617188, 47.211837768555))
{//Pumpa za Helice
    return 1;
}
}
return 0;
}

public IsAtFishPlace(playerid)
{
if(IsPlayerConnected(playerid))
{
    if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359))
{//Fishplace at the bigwheel
    return 1;
}
else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359))
{//Fishplace at the bigwheel
    return 1;
}
else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359))
{//Fishplace at the bigwheel
    return 1;
}
else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359))
{//Fishplace at the bigwheel
    return 1;
  }
else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359))
{//Fishplace at the bigwheel
    return 1;
}
}
return 0;
}
Poslednja Izmena: Avgust 19, 2012, 18:55:13 POSLE PODNE od Mirgo

Vegas.

Izostavio si negdje { ili }, daj zadnje Å¡to si radio..

Ubaciovao sam speedometar u mod i sve zavrsio i onda mi se ovo pokazalo

pa postavi to sto si ubacio da vidim dje fali