Jump to content

Question

Posted

Am si eu o problema , imi da aceste erori

[pawn]D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(2439) : error 017: undefined symbol "GivePlayerCash"

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(2468) : error 017: undefined symbol "GivePlayerCash"

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3067) : error 017: undefined symbol "strmatch"

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3075) : error 017: undefined symbol "strmatch"

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3158) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3162) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3174) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3178) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3182) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3186) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3190) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3194) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3198) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3202) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3206) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3218) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3222) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3226) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3230) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3234) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3246) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3250) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3254) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3266) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(3270) : error 004: function "PlayerToPoint" is not implemented

D:\Desktop Windows 8\Game4Win RolePlay\gamemodes\Darkgame.pwn(4262) : error 017: undefined symbol "ResetPlayerCash"

[/pawn]

Precisez acestea au fost in gamemode si nu au dat eroare pana acum

[pawn]

        {187},

public ConnectMySQL()

{

if(mysql_connect(SQL_HOST,SQL_USER,SQL_DB,SQL_PASS))

      {

printf("SUCCES: Conexiunea la baza de date`%s` a fost stabilita!",SQL_DB);

      }

      else

      {

        printf("ERROR: Conexiunea la baza de date`%s` a esuat.",SQL_DB);

        }

  return 1;

        }

        if(PlayerInfo[playerid][pAdmin] < 5 && !strmatch(vInfo[OwnedVeh(vehicleid)][vOwner], "Unbought"))

{

    if(IsValidObject(CarFire[vehicleid][0]) || IsValidObject(CarFire[vehicleid][1]) || IsValidObject(CarFire[vehicleid][2]) || IsValidObject(CarFire[vehicleid][3]))

    {

        new Float:cx, Float:cy, Float:cz;

    GetPlayerPos(playerid, cx, cy, cz);

    SetPlayerPos(playerid, cx, cy, cz);

    }

if(OwnedVeh(vehicleid) != 0 && vInfo[OwnedVeh(vehicleid)][vLocked] == 1 && !strmatch(vInfo[OwnedVeh(vehicleid)][vOwner], pName(playerid)))

{

    if(vehicleid != 177 && vehicleid != 305)

    {

    new Float:cx, Float:cy, Float:cz;

    GetPlayerPos(playerid, cx, cy, cz);

    SetPlayerPos(playerid, cx, cy, cz);

    }

}

}

/*if(GetVehicleModel(vehicleid) == 440 || GetVehicleModel(vehicleid) == 408 || GetVehicleModel(vehicleid) == 531)

{

if(PlayerInfo[playerid][pAdmin] < 1 && PlayerInfo[playerid][pTrial] < 1)

{

    if(ispassenger == 0 && IsVehicleOccupied(vehicleid))

    {

                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[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)

{

    return 1;

}

if(leader==5 || leader==6 || leader==8)

{

    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)

{

    return 1;

}

else if(leader==1 || leader==2 || leader==3)

{

    return 1;

}

}

return 0;

}

public IsAtClothShop(playerid)

{

    if(IsPlayerConnected(playerid))

{

        if(PlayerToPoint(25.0,playerid,207.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,1796.5809,-1883.4369,13.5734))

{//Taxi

    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(2.0,playerid,1724.6003,-746.0610,51.7459))

{//LV

    return 2;

}

}

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;

}

public IsAtCookPlace(playerid)

{

if(IsPlayerConnected(playerid))

{

    if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589))

    {//Cluckin Bell

        return 1;

    }

    else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078))

{//Burgershot

    return 1;

}

else if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922))

{//Well Stacked Pizza

    return 1;

}

}

return 0;

}

public IsAtBar(playerid)

{

    if(IsPlayerConnected(playerid))

{

if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.7578) || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797) || PlayerToPoint(7.0, playerid, 1400.3022,-3122.9741,9.6987))

{//In grove street bar (with girlfriend), and in Havanna

    return 1;

}

else if(PlayerToPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || PlayerToPoint(10.0,playerid,-2658.9749,1407.4136,906.2734) || PlayerToPoint(4.5, playerid, 1438.6176,-3108.1194,8.1687) || PlayerToPoint(4.5, playerid, 1639.2485,-1458.2992,13.5623))

{//PIG Pen

    return 1;

}

}

return 0;

    ResetPlayerCash(playerid); //Resetting the players cash variable to zero.

}[/pawn]

7 answers to this question

Recommended Posts

Posted

Ele sunt definite in script dar nu stiu de ce arata asa

Si nu este nici o paranteza lipsa deoarece pana acum nu a facut aceasta figura si nu am editat nimic acolo

Posted

Ele sunt definite in script dar nu stiu de ce arata asa

Si nu este nici o paranteza lipsa deoarece pana acum nu a facut aceasta figura si nu am editat nimic acolo

Ok. Nu e nici una lipsa, te las sa gandesti tu ca "expertii".

Ca sa stii si tu un lucru cand lipseste o } sau mai multe nu ti-o indica in erori. :picard:

Posted

Nu ca sunt expert dar daca in original se compileaza fara probleme si in asta sunt exact lafel ca in original , care poate fi problema :(

Posted

Nu ca sunt expert dar daca in original se compileaza fara probleme si in asta sunt exact lafel ca in original , care poate fi problema :(

Ai adaugat tu ceva ? daca da spune-ne ce ai bagat.

hx2mmd.gif
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.