Jump to content
  • 0

26 errors for compile...:((


gabbii

Question

Cum pot scapa de aceste erori?

C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3045) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3046) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3073) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3596) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3608) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3620) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3632) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3636) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3648) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3652) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3656) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3660) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3664) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3668) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3672) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3676) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3688) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3692) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3696) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3700) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3704) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3716) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3720) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3724) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3736) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AsusPC\Desktop\sv de samp 1\samp03csvr_R2-2_win32\gamemodes\mortal-zone.pwn(3740) : error 004: function "PlayerToPoint" is not implemented

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


26 Errors.

Cum sa inplementez astea ca sa nu mai dea  error?

Va rog eu mult sa ma ajutati:X

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

Astea sunt....

[pawn]             SafeGivePlayerWeapon(i, 29, 999);

            TogglePlayerControllable(i, 1);

            SendClientMessage(i, COLOR_YELLOW, "Meciul de Paintball a inceput, 4 minute ramase.");

            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];

    for(new i = 0; i < MAX_PLAYERS; i++)

{

    if(IsPlayerConnected(i))

    {

        if(PlayerPaintballing != 0)

        {

            if(IsPlayerConnected(PaintballWinner))

            {

                GetPlayerName(PaintballWinner, name, sizeof(name));

                format(string,sizeof(string), "** %s a castigat mecil de Paintball cu %d victime **",name,PaintballWinnerKills);

                SendClientMessage(i, COLOR_WHITE, string);

            }

            SafeResetPlayerWeapons(i);

            PlayerPaintballing = 0;

            SetPlayerPos(i, SBizzInfo[10][sbEntranceX],SBizzInfo[10][sbEntranceY],SBizzInfo[10][sbEntranceZ]);

        }

}

}

AnnouncedPaintballRound = 0;

    PaintballRound = 0;

return 1;

}

public PrepareKarting()

{

    for(new i = 0; i < MAX_PLAYERS; i++)

{

    if(IsPlayerConnected(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;

SecondKartWinner = 999;

ThirdKartWinner = 999;

for(new i = 0; i < MAX_PLAYERS; i++)

{

    if(IsPlayerConnected(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()

{

    for(new i = 0; i < MAX_PLAYERS; i++)

{

    if(IsPlayerConnected(i))

    {

        if(PlayerKarting != 0 && PlayerInKart != 0)

        {

            CP = 0;

            DisablePlayerCheckpoint(i);

        }

}

}

AnnouncedKartRound = 0;

    KartingRound = 0;

return 1;

}

public DollahScoreUpdate()

{

new LevScore;

for(new i=0; i<MAX_PLAYERS; i++)

{

if(IsPlayerConnected(i))

{

  LevScore = PlayerInfo[pLevel];

SetPlayerScore(i, LevScore);

}

}

return 1;

}

LoopingAnim(playerid,animlib[],animname[], Float:Speed, looping, lockx, locky, lockz, lp)

{

    gPlayerUsingLoopingAnim[playerid] = 1;

    ApplyAnimation(playerid, animlib, animname, Speed, looping, lockx, locky, lockz, lp);

    TextDrawShowForPlayer(playerid,txtAnimHelper);

}

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;

}

stock right(source[], len)

{

new retval[MAX_STRING], srclen;

srclen = strlen(source);

strmid(retval, source, srclen - len, srclen, MAX_STRING);

return retval;

}

stock sscanf(string[], format[], {Float,_}:...)

{

new

formatPos = 0,

stringPos = 0,

paramPos = 2,

paramCount = numargs();

while (paramPos < paramCount && string[stringPos])

{

switch (format[formatPos++])

{

case '\0':

{

return 0;

}

case 'i', 'd':

{

new

neg = 1,

num = 0,

ch = string[stringPos];

if (ch == '-')

{

neg = -1;

ch = string[++stringPos];

}

do

{

stringPos++;

if (ch >= '0' && ch <= '9')

{

num = (num * 10) + (ch - '0');

}

else

{

return 1;

}

}

while ((ch = string[stringPos]) && ch != ' ');

setarg(paramPos, 0, num * neg);

}

case 'h', 'x':

{

new

ch,

num = 0;

while ((ch = string[stringPos++]))

{

switch (ch)

{

case 'x', 'X':

{

num = 0;

continue;

}

case '0' .. '9':

{

num = (num << 4) | (ch - '0');

}

case 'a' .. 'f':

{

num = (num << 4) | (ch - ('a' - 10));

}

case 'A' .. 'F':

{

num = (num << 4) | (ch - ('A' - 10));

}

case ' ':

{

break;

}

default:

{

return 1;

}

}

}

setarg(paramPos, 0, num);

}

case 'c':

{

setarg(paramPos, 0, string[stringPos++]);

}

case 'f':

{

new tmp[25];

strmid(tmp, string, stringPos, stringPos+sizeof(tmp)-2);

setarg(paramPos, 0, _:floatstr(tmp));

}

case 's', 'z':

{

new

i = 0,

ch;

if (format[formatPos])

{

while ((ch = string[stringPos++]) && ch != ' ')

{

setarg(paramPos, i++, ch);

}

if (!i) return 1;

}

else

{

while ((ch = string[stringPos++]))

{

setarg(paramPos, i++, ch);

}

}

stringPos--;

setarg(paramPos, i, '\0');

}

default:

{

continue;

}

}

while (string[stringPos] && string[stringPos] != ' ')

{

stringPos++;

}

while (string[stringPos] == ' ')

{

stringPos++;

}

paramPos++;

}

while (format[formatPos] == 'z') formatPos++;

return format[formatPos];

}

public Spectator()

{

new string[256];

for(new i = 0; i < MAX_PLAYERS; i++)

{

if(IsPlayerConnected(i))

{

    if(KickPlayer==1) { Kick(i); }

else if(KickPlayer==2) { Ban(i); }

//if(GetPlayerPing(i) >= 500 && PlayerInfo[pAdmin] < 1) { Kick(i); }

if(Spectate < 253 && Spectate != 255)

{

SetPlayerColor(i,COLOR_SPEC);

TogglePlayerControllable(i, 0);

new targetid = Spectate;

if(IsPlayerConnected(targetid))

{

    TogglePlayerSpectating(i, 1);

    if(PlayerInfo[pAdmin] >= 1)

    {

        new Float:health;

    new name[MAX_PLAYER_NAME];

    GetPlayerName(targetid, name, sizeof(name));

    GetPlayerHealth(targetid, health);

    format(string, sizeof(string), "~n~~n~~n~~n~~n~~n~~y~%s(ID:%d)~n~~y~health:%.1f",name,targetid,health);

    GameTextForPlayer(i, string, 2500, 3);

    }

    if(IsPlayerInAnyVehicle(targetid))

{

    new carid = GetPlayerVehicleID(targetid);

    PlayerSpectateVehicle(i, carid);

}

else

{

    PlayerSpectatePlayer(i, targetid);

}

if(GetPlayerInterior(targetid) == 0)

{

SetPlayerInterior(i,0);

}

else if(GetPlayerInterior(targetid) > 0)

{

SetPlayerInterior(i,GetPlayerInterior(targetid));

}

}//Targetid connected

}

if(Spectate == 253)

{

TogglePlayerControllable(i, 1);

TogglePlayerSpectating(i, 0);

SetPlayerInterior(i,Unspec[sPint]);

PlayerInfo[pInt] = Unspec[sPint];

PlayerInfo[pLocal] = Unspec[sLocal];

Unspec[sLocal] = 255;

SetSpawnInfo(i, PlayerInfo[pTeam], PlayerInfo[pModel], Unspec[sPx],  Unspec[sPy], Unspec[sPz]-1.0, 1.0, -1, -1, -1, -1, -1, -1);

gTeam = PlayerInfo[pTeam];

SetPlayerToTeamColor(i);

MedicBill = 0;

if(PlayerInfo[pDonateRank] > 0)

        {

            SetSpawnInfo(i, PlayerInfo[pTeam], PlayerInfo[pModel], Unspec[Coords][0], Unspec[Coords][1], Unspec[Coords][2], 10.0, -1, -1, -1, -1, -1, -1);

SpawnPlayer(i);

SetCameraBehindPlayer(i);

        }

        else

        {

SpawnPlayer(i);

}

Spectate = 255;

}

if(Spectate == 254)

{

TogglePlayerControllable(i, 1);

SetPlayerInterior(i,Unspec[sPint]);

PlayerInfo[pInt] = Unspec[sPint];

PlayerInfo[pLocal] = Unspec[sLocal];

SetPlayerPos(i, Unspec[sPx],  Unspec[sPy], Unspec[sPz]);

Spectate = 255;

}

if(Spectate == 256)

{

SetPlayerToTeamColor(i);

Spectate = 255;

}

if(Spectate == 257)

{

Spectate = 254;

}

}

}

}

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

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

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

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, "Stealing An Ambulance"); }

}

if (IsATank(vehicleid) && !ispassenger)

{

if(PlayerInfo[playerid][pLeader]==1||PlayerInfo[playerid][pLeader]==3||PlayerInfo[playerid][pMember]==3) {}

    else { WantedPoints[playerid]+=2; SetPlayerCriminal(playerid,255, "Stealing A Tank"); 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] >= 5 && AdminDuty[playerid] == 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[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==13 || member==14 || member==15)

{

    return 1;

}

if(leader==5 || leader==6 || leader==8 || leader==12 || leader==13 || leader==14 || leader==15)

{

    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 IsAGangMember(playerid)

  {

      if(IsPlayerConnected(playerid))

    {

        new leader = PlayerInfo[playerid][pLeader];

        new member = PlayerInfo[playerid][pMember];

      if(member==5 || member==6 || member==12 || member==13 || member==14 || member==15)

      {

          return 1;      }

      else if(leader==5 || leader==6 || leader==12 || leader==13 || leader==14 ||leader==15)

      {

          return 1;

      }

    }

    return 0;

}

public IsClanMember(playerid)

{

if(IsPlayerConnected(playerid))

{

    new cleader = PlayerInfo[playerid][pLeader];

    new cmember = PlayerInfo[playerid][pMember];

    if(cmember==1)

{

    return 1;

}

else if(cleader==1)

{

    return 1;

}

}

return 0;

}

public IsMayor(playerid)

{

if(IsPlayerConnected(playerid))

{

    new leader = PlayerInfo[playerid][pLeader];

    new member = PlayerInfo[playerid][pMember];

    if(member==7)

{

    return 1;

}

else if(leader==7)

{

    return 1;

}

}

return 0;

}

public IsAPDMember(playerid)

{

if(IsPlayerConnected(playerid))

{

    new leader = PlayerInfo[playerid][pLeader];

    new member = PlayerInfo[playerid][pMember];

    if(member==1)

{

    return 1;

}

else if(leader==1)

{

    return 1;

}

}

return 0;

}

public IsAnOwnableCar(vehicleid)

{

if(vehicleid >= 184 && vehicleid <= 308) { return 1; }

return 0;

}

public IsAtDealership(playerid)

{

if(IsPlayerConnected(playerid))

{

    if(PlayerToPoint(50,playerid,1689.1055,-1015.0319,23.9063) || PlayerToPoint(50,playerid,1642.4335,-1025.0067,23.8984) || PlayerToPoint(50,playerid,1639.1080,-1096.0895,23.9063) || PlayerToPoint(50,playerid,1579.5927,-1020.6734,23.9063))

{

return 1;

}

}

return 0;

}

public IsAtADPlace(playerid)

{

if(IsPlayerConnected(playerid))

{

    if(PlayerToPoint(3.0,playerid,847.6656,-1043.4241,25.4944) || PlayerToPoint(3.0,playerid,2127.5808,2378.2695,10.8203))

{

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;

}

}

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(6.5,playerid,2191.8809,1604.4807,1005.0625) || PlayerToPoint(6.5,playerid,1477.0769,-1412.3546,38.7762))

{//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))

{//PIG Pen[/pawn]

Link to comment
Share on other sites

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.