Problem im script dringende hilfe benötigt

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • ja hi leute wie schon gesagt hab ein großes problem im script und brauche wirklich hilfe


    also folgendes:
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(2) : error 010: invalid function or declaration
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6199) : warning 202: number of arguments does not match definition
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6199) : warning 202: number of arguments does not match definition
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6199) : warning 202: number of arguments does not match definition
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6208 : error 026: no matching "#if..."
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6217) : error 001: expected token: "*then", but found "-identifier-"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6217) : warning 202: number of arguments does not match definition
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6227) : warning 225: unreachable code
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6227) : error 029: invalid expression, assumed zero
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6227) : warning 202: number of arguments does not match definition
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6230) : warning 202: number of arguments does not match definition
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6233) : warning 225: unreachable code
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(6236) : error 010: invalid function or declaration
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(11777) : error 017: undefined symbol "Welcome"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(11777) : error 017: undefined symbol "to"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(11777) : error 017: undefined symbol "the"
    C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\larp.pwn(11777) : fatal error 107: too many error messages on one line


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



    das sind meine Error zeilen jetzt schick ich die betroffennen zeilen:


    zeile 2: * -- Los Santos Street Ryderz (Frank_Converse edition) --
    zeile 6199 - 6236
    Frankgate = CreateObject(980, 323.48843383789,-1186.9853515625,76.389526367188);//Tor Rechts


    }


    public OnFilterScriptExit()
    {
    return 1;
    }


    #endif


    public OnPlayerCommandText(playerid, cmdtext[])
    {


    if (strcmp(cmdtext, "/openownergate", true)==0)
    {
    if gTeam[playerid] == 2


    MoveObject(Frankgate, 313.61364746094,-1194.8322753906,76.185592651367);
    SetTimer("GateClose", 5000, 0);


    return 1;
    }
    else
    {
    return 0;
    }


    public GateClose()
    {


    MoveObject (Frankgate, 313.61364746094,-1194.8322753906,76.185592651367);
    return 1;
    }
    return 1;
    }


    return 1;


    zeile 11777
    Create3DTextLabel(Welcome to the Los Santos Street Ryderz,Color_White,1630.80,-2276.49,24.9149,15, 0, 1);

  • so ich habe alle 10 fehler von oben behoben aber als ich fertig war kam das :
    hier die zeilen dazu
    zeile 45822 und die anhängenden zeilen also start bei 45822:
    public Float:GetDistance(playerid, Float:x, Float:y)
    {
    new Float:x2, Float:y2, Float:z2;
    GetPlayerPos(playerid, x2, y2, z2);
    x = x - x2;
    y = y - y2;
    return floatsqroot(x*x+y*y);
    zeile 2196:
    {
    new value = money / 100;
    value = value * 10;
    SafeGivePlayerMoney(i, value);
    BizzInfo[bizid][bTill] -= value;
    }


    zeile 2225:
    das ist genau das selbe wie bei zeile 2194-2197


    jetzt noch zeile 2259-2877
    if(PlayerPaintballing[i] != 0)
    {
    SafeResetPlayerWeapons(i);
    SafeGivePlayerWeapon(i, 29, 999);
    TogglePlayerControllable(i, 1);
    SendClientMessage(i, COLOR_YELLOW, "Paintball Match started, 4 minutes left.");
    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[i] != 0)
    {
    if(IsPlayerConnected(PaintballWinner))
    {
    GetPlayerName(PaintballWinner, name, sizeof(name));
    format(string,sizeof(string), "** %s won the Paintball Match with %d kills **",name,PaintballWinnerKills);
    SendClientMessage(i, COLOR_WHITE, string);
    }
    SafeResetPlayerWeapons(i);
    PlayerPaintballing[i] = 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[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;
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(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()
    {
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i))
    {
    if(PlayerKarting[i] != 0 && PlayerInKart[i] != 0)
    {
    CP[i] = 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[i][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[i]==1) { Kick(i); }
    else if(KickPlayer[i]==2) { Ban(i); }
    //if(GetPlayerPing(i) >= 500 && PlayerInfo[i][pAdmin] < 1) { Kick(i); }
    if(Spectate[i] < 253 && Spectate[i] != 255)
    {
    SetPlayerColor(i,COLOR_SPEC);
    TogglePlayerControllable(i, 0);
    new targetid = Spectate[i];
    if(IsPlayerConnected(targetid))
    {
    TogglePlayerSpectating(i, 1);
    if(PlayerInfo[i][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[i] == 253)
    {
    TogglePlayerControllable(i, 1);
    TogglePlayerSpectating(i, 0);
    SetPlayerInterior(i,Unspec[i][sPint]);
    PlayerInfo[i][pInt] = Unspec[i][sPint];
    PlayerInfo[i][pLocal] = Unspec[i][sLocal];
    Unspec[i][sLocal] = 255;
    SetSpawnInfo(i, PlayerInfo[i][pTeam], PlayerInfo[i][pModel], Unspec[i][sPx], Unspec[i][sPy], Unspec[i][sPz]-1.0, 1.0, -1, -1, -1, -1, -1, -1);
    gTeam[i] = PlayerInfo[i][pTeam];
    SetPlayerToTeamColor(i);
    MedicBill[i] = 0;
    if(PlayerInfo[i][pDonateRank] > 0)
    {
    SetSpawnInfo(i, PlayerInfo[i][pTeam], PlayerInfo[i][pModel], Unspec[i][Coords][0], Unspec[i][Coords][1], Unspec[i][Coords][2], 10.0, -1, -1, -1, -1, -1, -1);
    SpawnPlayer(i);
    SetCameraBehindPlayer(i);
    }
    else
    {
    SpawnPlayer(i);
    }
    Spectate[i] = 255;
    }
    if(Spectate[i] == 254)
    {
    TogglePlayerControllable(i, 1);
    SetPlayerInterior(i,Unspec[i][sPint]);
    PlayerInfo[i][pInt] = Unspec[i][sPint];
    PlayerInfo[i][pLocal] = Unspec[i][sLocal];
    SetPlayerPos(i, Unspec[i][sPx], Unspec[i][sPy], Unspec[i][sPz]);
    Spectate[i] = 255;
    }
    if(Spectate[i] == 256)
    {
    SetPlayerToTeamColor(i);
    Spectate[i] = 255;
    }
    if(Spectate[i] == 257)
    {
    Spectate[i] = 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] >= 1337 && 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==14 || member==15 || member==16)
    {
    return 1;
    }
    if(leader==5 || leader==6 || leader==8 || 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)
    {
    return 1;
    }
    else if(leader==1 || leader==2 || leader==3)
    {
    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 <= 268) { return 1; }
    return 0;
    }


    public IsAtDealership(playerid)
    {
    if(IsPlayerConnected(playerid))
    {
    if(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))
    {
    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;


    ich weiß es ist viel aber bitt bitte helft mir