Beiträge von Gambit

    Hatte noch was vergessen sry



    if(HouseInfo[h][hOwned] == 0)
    {
    format(string, sizeof(string), "[SALE]\n$ %d",HouseInfo[h][hValue]);
    housesale = Create3DTextLabel(string,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15,0,1);
    AddStaticPickup(1273, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
    SetPlayerMapIcon(h,0, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez],31,COLOR_1RED);
    pickups++;
    }
    if(HouseInfo[h][hOwned] == 1)
    {
    format(string, sizeof(string), "[OWNED]\n%s",HouseInfo[h][hOwner]);
    Create3DTextLabel(string,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15,0,1);
    AddStaticPickup(1239, 2, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
    //CreateMapIcon(32, 0, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]);
    pickups++;
    }
    }

    hier mal in sachen Haus


    new Text3D:housesale;


    if(GetPlayerMoney(playerid) > HouseInfo[h][hValue])
    {
    Delete3DTextLabel(Text3D:housesale);
    PlayerInfo[playerid][pPhousekey] = h;
    HouseInfo[h][hOwned] = 1;
    GetPlayerName(playerid, sendername, sizeof(sendername));
    strmid(HouseInfo[h][hOwner], sendername, 0, strlen(sendername), 255);
    GivePlayerMoney(playerid,-HouseInfo[h][hValue]);
    PlayerPlayMusic(playerid);
    SetPlayerInterior(playerid,HouseInfo[h][hInt]);
    SetPlayerPos(playerid,HouseInfo[h][hExitx],HouseInfo[h][hExity],HouseInfo[h][hExitz]);
    GameTextForPlayer(playerid, "~w~Welcome Home~n~You can exit at any time by moving to this door and typing /exit", 5000, 3);
    PlayerInfo[playerid][pInt] = HouseInfo[h][hInt];
    PlayerInfo[playerid][pLocal] = h;
    SendClientMessage(playerid, COLOR_WHITE, "Congratulations, on your new Purchase !");
    SendClientMessage(playerid, COLOR_WHITE, "Type /help to review the new property help section !");
    Delete3DTextLabel(Text3D:housesale);
    DateProp(playerid);
    OnPropUpdate();
    OnPlayerUpdate(playerid);
    return 1;
    }
    else
    {

    jo ist es.


    hier mal ein beispiel.


    new civ1;


    new Text3D:civ1t = Create3DTextLabel("LS-10-CIV",COLOR_3DTEXT,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(civ1t, civ1, 0.0, 0.0, 0.0);


    civ1 = AddStaticVehicle(462,490.1220,-1500.9385,20.0912,303.4703,7,7);


    Ich habe nur die sachen mit Random in sachen mit Player Spawn gefunden.
    Aber leider nichts mit Fahrzeuge.

    Hallo ich versuche schon seit einer ewigkeit die sache mit Eport car etwas zu verbessern.


    Nach langem hin und her habe ich es geschaft es ins GameMode einzubauen.


    Jetzt versuche ich es so zu machen das die fahrzeuge an verschiedene Spawn Punkte neu Spawnen.


    Sprich er soll immer an andere feste punkte spawnen, oder er soll automatisch die Civ Fahrzeuge ersetzen.


    Man hatte gesagt ich sollte es versuche wie bei Fragtioncars aber klabt nicht.


    Ich habe das gewunden, könnte mir bitte jemand erklären wie ich das so umbauen kann das ich das für meine zwecke benutzen kann


    #define MAX_RANDOM_POSITIONS 2
    new Float:rPos[MAX_RANDOM_POSITIONS][3]={
    {123.456,123.456,12.45},
    {456.789,456.789,45.67}};


    public OnVehicleDeath(vehicleid, killerid)
    {
    SetVehicleToRespawn(vehicleid);
    return 1;
    }


    public OnVehicleSpawn(vehicleid)
    {
    new r = random(MAX_RANDOM_POSITIONS-1);
    SetVehiclePos(vehicleid, rPos[r][0], rPos[r][1], rPos[r][2]);
    return 1;
    }


    Ich würde mich freuen wenn ihr mir helfen könnt.

    Hallo an alle mal wieder.


    Ich versuche die Export sache zu verbessern.


    Und zwar wollte ich es so machen das man nicht jedes car abgeben kann und das man feste autos die an verschiedene punkte spawnen.


    Bei Spiel:


    Man kann den Stafford als Export abgeben wenn man es gemacht hat und alle anderen fahrzeuge spawnt er an eine andere position.


    Nur irgend wie geht das nicht.



    Hier mal ein beispiel wie ich es gemacht habe.
    da wo die fahrzeuge stehen soll
    exp1 = AddStaticVehicleEx(580,1424.2505,-1294.6066,13.3531,179.7389,126,126,15); // exp- 580 1
    exp1 = AddStaticVehicleEx(580,1601.7463,-1814.2897,13.2323,267.3189,126,126,15); // exp- 580 2
    exp1 = AddStaticVehicleEx(580,1231.7501,301.3601,19.4073,156.5979,126,126,15); // exp- 580 3
    exp1 = AddStaticVehicleEx(580,245.1119,-19.3838,1.4035,90.4828,126,126,15); // exp- 580 4


    und das sollte ich auch ein fügen


    SetVehiclePos(261,1424.2505,-1294.6066,13.3531);// exp 1-1
    SetVehiclePos(262,1601.7463,-1814.2897,13.2323);// exp 1-2
    SetVehiclePos(263,1231.7501,301.3601,19.4073);// exp 1-3
    SetVehiclePos(264,245.1119,-19.3838,1.4035);// exp 1-4





    man hatte gesagt ich soll es so machen


    aber irgend wie geht das nicht die fahrzeuge sind alle da.

    habe es so ein gebaut


    public OnVehicleSpawn(vehicleid)
    {


    SetVehiclePos(exp1,580,1424.2505,-1294.6066,13.3531,179.7389,126,126);
    SetVehiclePos(exp1,580,1601.7463,-1814.2897,13.2323,267.3189,126,126);
    SetVehiclePos(exp1,580,1231.7501,301.3601,19.4073,156.5979,126,126);
    SetVehiclePos(exp1,580,245.1119,-19.3838,1.4035,90.4828,126,126);
    SetVehiclePos(exp1,580,-1539.5955,-2744.2209,48.3332,171.0182,126,126);
    SetVehiclePos(exp1,580,-2173.7014,-2534.5762,30.4134,140.9561,126,126);
    SetVehiclePos(exp1,580,-1887.2239,-921.7913,31.8196,269.7531,126,126);
    SetVehiclePos(exp1,580,-2640.0571,-55.3981,4.1321,359.4542,126,126);
    SetVehiclePos(exp1,580,-2457.5208,1070.6917,55.5923,356.8714,126,126); // exp- 580 9
    SetVehiclePos(exp1,580,-2271.9106,2297.3667,4.6163,89.8185,126,126); // exp- 580 10
    SetVehiclePos(exp1,580,-1443.6592,2625.3042,55.6322,272.1523,126,126); // exp- 580 11
    SetVehiclePos(exp1,580,-173.3213,2720.2319,62.2409,90.4414,126,126); // exp- 580 12
    SetVehiclePos(exp1,580,1109.7195,2261.5488,10.6165,0.3137,126,126); // exp- 580 13
    SetVehiclePos(exp1,580,2119.8967,1923.0186,10.4680,180.9321,126,126); // exp- 580 14
    SetVehiclePos(exp1,580,2440.9636,1122.4594,10.6162,88.8825,126,126); // exp- 580 15
    SetVehiclePos(exp1,580,2119.6143,2177.6782,10.4680,180.3173,126,126); // exp- 580 16

    return 1;
    }

    Habe ich nicht im Script


    habe bei Wiki


    etwas gewunden


    public OnVehicleSpawn(vehicleid)
    {
    printf("Vehicle %i spawned!",vehicleid);// <======das habe ich raus gelassen
    return 1;
    }

    Und habe diese meldungen
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37131) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37131) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37131) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37131) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37132) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37132) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37132) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37132) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37133) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37133) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37133) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37133) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37134) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37134) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37134) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37134) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37135) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37135) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37135) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37135) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37136) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37136) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37136) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37136) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37137) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37137) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37137) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37137) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37138) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37138) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37138) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37138) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37139) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37139) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37139) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37139) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37140) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37140) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37140) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37140) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37141) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37141) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37141) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37141) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37142) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37142) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37142) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37142) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37143) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37143) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37143) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37143) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37144) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37144) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37144) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37144) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37145) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37145) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37145) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37145) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37146) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37146) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37146) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37146) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(37148) : warning 217: loose indentation

    jetzt das prblem mit dem


    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition


    hier die zeilen


    SetVehiclePos(exp1,580,1424.2505,-1294.6066,13.3531,179.7389,126,126);


    Ich habe sie unter denn Ad...... , muss ich die wo anders hin machen??

    Hallo,


    Ich habe diese Warnings und weis nicht was er meint.


    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9362) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9363) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9363) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9363) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9363) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9364) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9364) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9364) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9364) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9365) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9365) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9365) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9365) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9366) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9366) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9366) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9366) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9367) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9367) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9367) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9367) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9368) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9368) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9368) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9368) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9369) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9369) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9369) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9369) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9370) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9370) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9370) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9370) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9371) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9371) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9371) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9371) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9372) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9372) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9372) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9372) : warning 202: number of arguments does not match definition
    C:\Users\cyc\Desktop\GTA Script\MrIllusion2\MrIllusion\gamemodes\eRPv0.9,5.pwn(9373) : warning 202: number of arguments does not match definition


    und hier die Zeilen


    exp1 = AddStaticVehicleEx(580,1424.2505,-1294.6066,13.3531,179.7389,126,126,60000); // exp- 580 1
    exp1 = AddStaticVehicleEx(580,1601.7463,-1814.2897,13.2323,267.3189,126,126,60000); // exp- 580 2
    exp1 = AddStaticVehicleEx(580,1231.7501,301.3601,19.4073,156.5979,126,126,60000); // exp- 580 3
    exp1 = AddStaticVehicleEx(580,245.1119,-19.3838,1.4035,90.4828,126,126,60000); // exp- 580 4
    exp1 = AddStaticVehicleEx(580,-1539.5955,-2744.2209,48.3332,171.0182,126,126,60000); // exp- 580 5
    exp1 = AddStaticVehicleEx(580,-2173.7014,-2534.5762,30.4134,140.9561,126,126,60000); // exp- 580 6
    exp1 = AddStaticVehicleEx(580,-1887.2239,-921.7913,31.8196,269.7531,126,126,60000); // exp- 580 7
    exp1 = AddStaticVehicleEx(580,-2640.0571,-55.3981,4.1321,359.4542,126,126,60000); // exp- 580 8
    exp1 = AddStaticVehicleEx(580,-2457.5208,1070.6917,55.5923,356.8714,126,126,60000); // exp- 580 9
    exp1 = AddStaticVehicleEx(580,-2271.9106,2297.3667,4.6163,89.8185,126,126,60000); // exp- 580 10
    exp1 = AddStaticVehicleEx(580,-1443.6592,2625.3042,55.6322,272.1523,126,126,60000); // exp- 580 11
    exp1 = AddStaticVehicleEx(580,-173.3213,2720.2319,62.2409,90.4414,126,126,60000); // exp- 580 12
    exp1 = AddStaticVehicleEx(580,1109.7195,2261.5488,10.6165,0.3137,126,126,60000); // exp- 580 13
    exp1 = AddStaticVehicleEx(580,2119.8967,1923.0186,10.4680,180.9321,126,126,60000); // exp- 580 14
    exp1 = AddStaticVehicleEx(580,2440.9636,1122.4594,10.6162,88.8825,126,126,60000); // exp- 580 15
    exp1 = AddStaticVehicleEx(580,2119.6143,2177.6782,10.4680,180.3173,126,126,60000); // exp- 580 16
    exp2 = AddStaticVehicleEx(496,2104.4172,2039.8004,10.5366,89.4979,126,126,60000); // exp- 496 1
    exp2 = AddStaticVehicleEx(496,1663.7675,1306.9373,10.5366,0.7138,126,126,60000); // exp- 496 2
    exp2 = AddStaticVehicleEx(496,1922.7552,697.8958,10.5367,0.1504,126,126,60000); // exp- 496 3
    exp2 = AddStaticVehicleEx(496,2279.4417,2.2999,27.1845,179.9341,126,126,60000); // exp- 496 4
    exp2 = AddStaticVehicleEx(496,2797.6069,-1576.1094,10.6437,88.6148,126,126,60000); // exp- 496 5
    exp2 = AddStaticVehicleEx(496,2658.6736,-1707.3961,9.0386,270.0291,126,126,60000); // exp- 496 6
    exp2 = AddStaticVehicleEx(496,1794.6329,-1931.5361,13.1036,179.8554,126,126,60000); // exp- 496 7
    exp2 = AddStaticVehicleEx(496,1084.2155,-1755.2540,13.1028,86.2088,126,126,60000); // exp- 496 8
    exp2 = AddStaticVehicleEx(496,-91.4709,-1196.0038,2.0456,348.7096,126,126,60000); // exp- 496 9
    exp2 = AddStaticVehicleEx(496,-1370.1017,-199.5052,5.7164,272.5628,126,126,60000); // exp- 496 10
    exp2 = AddStaticVehicleEx(496,-1670.6471,442.8689,6.8948,252.4236,126,126,60000); // exp- 496 11
    exp2 = AddStaticVehicleEx(496,-1687.8718,1015.7421,17.3021,93.2527,126,126,60000); // exp- 496 12
    exp2 = AddStaticVehicleEx(535,-1829.1031,1289.4800,31.6227,20.1280,126,126,60000); // exp- 535 1



    Ich hoffe ihr könnt mir helfen

    Hallo an alle.


    Da es irgend wie nicht klabt bei mir mit
    IsPlayerInRangeOfPoint


    Wollte ich mal fragen ob man es auch so machen kann das die autos auf anderer weise abgenommen werden.


    mit einen befehl oder so wie das mit dem automatischen eingang???


    Ich hoffe ihr könnt mir weiter helfen, da ich schon seit ca 5 tagen an dem problem hänge.

    Also ich habe es jetzt schon auf viele verschiedene arten versucht das er über brüfen soll, ob man da ist bei dem richtigen weg punkt klabt aber nicht bitte helft mir.

    Ich habe das jetzt so eingegeben


    public OnPlayerEnterCheckpoint(playerid)
    {
    if(!IsPlayerInAnyVehicle(playerid)) //If the player isnt in a vehicle

    {
    return SendClientMessage(playerid,COLOR_RED,"You must be in a vehicle!");



    }
    SetPlayerCheckpoint(playerid, -1545.0740,128.1534,3.5547, 9.0);
    IsPlayerInRangeOfPoint(playerid,30.0,-1545.0740,128.1534,3.5547);//<====
    new gtstr[128]; //Define gtstr
    if(sellon[playerid] == 0) //if he cant sell cars (sold one latley)
    {
    return GameTextForPlayer(playerid,"~R~Come back later!",3000,sold_for_gametext); //Tell him to return later
    }
    //Slamvan
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) //If its a Slamvan

    {
    if(sold1 == 0) //If it has not been sold
    {


    bringt aber leider garnichts



    was mache ich fahlch


    will oder kann mir keiner helfen?

    Hallo an alle.


    Ich habe ein problem in sachen wegpunkte,


    Es geht um Export car und um /drupcar.


    Bei beiden kann man einen anderen Wegpunkt eingeben wie zum beispiel /job menchanikerls und kann dann da sein fahrzeug verkaufen. was aber nicht der sin der sache ist.


    Beide sachen, Export und /dropcar haben wegpunkte wo man sie abgeben kann.


    Meine frage ist was muss ich machen damit man die Fahrzeuge wirglich nur an denn angedachten wegpunkte abgeben kann.


    Oder ist das alles ein fehler von Samp?????


    Ich hoffe ihr könnt mir helfen

    Ich habe ein problem mit dem weg punkt und habe auch schon eine weile hin und her prbiert,


    Wenn man einen weg punkit hat egal welchen kann man dort die fahrzeuge abgeben, was nicht sein darf.


    Ich habe gehoft das wenn ich das script in den GM einbaue das es sich dann ändert, was aber leider nicht passiert.


    Es ist immer noch so.


    Was muss ich machen und wo muss es hin damit nur der eine weg punkt als abgabe punkt genommen wird für export.


    Hier mal denn weg punkt wo man die export cars eigendlich ab geben muss.


    SetPlayerCheckpoint(playerid, -1545.0740,128.1534,3.5547, 9.0);

    Was muss ich machen das die Export cars auch wirglich nur an der einen weg punkt abgegeben wird und nicht bei allen weg punkten??


    Ich vermutte das es irgend was mit der abteilung zutun hat, aber ich weis leider nicht wo ich es rein machen muss da mit er weis das er nur bei einem weg punkt es abgeben muss


    if(!IsPlayerInAnyVehicle(playerid)) //If the player isnt in a vehicle
    {
    return SendClientMessage(playerid,COLOR_RED,"You must be in a vehicle!");
    }
    new gtstr[128]; //Define gtstr
    if(sellon[playerid] == 0) //if he cant sell cars (sold one latley)
    {
    return GameTextForPlayer(playerid,"~R~Come back later!",3000,sold_for_gametext); //Tell him to return later
    }
    //Slamvan
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 535) //If its a Slamvan
    {
    if(sold1 == 0) //If it has not been sold
    {
    sold1 = 1; //Now its sold, so we can set the variable
    sellon[playerid] = 0; //We have sold a vehicle so we have to wait 5 minutes to sell again
    SetTimerEx("exdel",wait_time*60000, false, "i", playerid); //Set the timer to be able to sell cars again
    new string[128];
    new string2[128];
    format(string2, sizeof(string2), "CAR EXPORT: You must now wait %d minutes to sell another car!",wait_time); //Format "string2"
    SendClientMessage(playerid, COLOR_GREEN,string2); //Send "string2" as a SendClientMessage
    DestroyVehicle(GetPlayerVehicleID(playerid)); //Respawn the Slamvan
    GivePlayerMoney(playerid,slamvan_price); //Give the player that cash
    SetPlayerScore(playerid, GetPlayerScore(playerid) + sell_car_bonus );
    format(gtstr, sizeof(gtstr), "~G~slamvan sold for~N~~Y~$%i~W~!",slamvan_price); //Format "gtstr"
    GameTextForPlayer(playerid,gtstr,3000,sold_for_gametext); //Gametext
    cross1 = CreateObject(3086, -1534.65, 154.05, 2.51, 0.00, 0.00, 180.00); //The cross-out object for the blackboard
    SetPlayerCameraPos(playerid,-1534.6313,150.5789,3.5547); //Camera
    SetPlayerCameraLookAt(playerid,-1534.4789,153.5749,4.6031); //Camera
    SetTimerEx("excam",reset_time*1000, false, "i", playerid); //Reset the camera and the player in whatever secondsa are defined
    PlayerPlaySound(playerid,sell_car_sound,0.0,0.0,0.0); //Sound
    new name[16]; //Define "Name"
    GetPlayerName(playerid,name,16); //Get the players name and store it in the "name" variable
    format(string, sizeof(string), "\"%s\" has sold the Slamvan for $%i!",name,slamvan_price); //Format "string"
    SendClientMessageToAll(COLOR_GREEN, string); //Send "string" as a SCM
    }
    else if(sold1 == 1) //If slamvan is already sold
    {
    GameTextForPlayer(playerid,"~R~slamvan ~W~has already been sold!",3000,already_sold_gametext); //Tell them its sold
    }
    }
    //Blista Compact
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 496)
    {
    if(sold2 == 0)
    {
    sold2 = 1;
    sellon[playerid] = 0;
    SetTimerEx("exdel",wait_time*60000, false, "i", playerid); //Set the timer to be able to sell cars again
    new string[128];
    new string2[128];
    format(string2, sizeof(string2), "CAR EXPORT: You must now wait %d minutes to sell another car!",wait_time); //Format "string2"
    SendClientMessage(playerid, COLOR_GREEN,string2); //Send "string2" as a SendClientMessage
    DestroyVehicle(GetPlayerVehicleID(playerid));
    GivePlayerMoney(playerid,blista_price);
    SetPlayerScore(playerid, GetPlayerScore(playerid) + sell_car_bonus );
    format(gtstr, sizeof(gtstr), "~G~blista compact sold for~N~~Y~$%i~W~!",blista_price); //Format "string"
    GameTextForPlayer(playerid,gtstr,3000,sold_for_gametext); //Gametext
    cross2 = CreateObject(3086, -1534.45, 154.05, 2.26, 0.00, 0.00, 180.00);
    SetPlayerCameraPos(playerid,-1534.6313,150.5789,3.5547);
    SetPlayerCameraLookAt(playerid,-1534.4789,153.5749,4.6031);
    SetTimerEx("excam",reset_time*1000, false, "i", playerid);
    PlayerPlaySound(playerid,sell_car_sound,0.0,0.0,0.0);
    new name[16];
    GetPlayerName(playerid,name,16);
    format(string, sizeof(string), "\"%s\" has sold the Blista Compact for $%i!",name,blista_price);
    SendClientMessageToAll(COLOR_GREEN, string);
    }
    else if(sold2 == 1)
    {
    GameTextForPlayer(playerid,"~R~blista compact ~W~has already been sold!",3000,already_sold_gametext);
    }
    }
    //Stafford
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 580)
    {
    if(sold3 == 0)
    {
    sold3 = 1;
    sellon[playerid] = 0;
    SetTimerEx("exdel",wait_time*60000, false, "i", playerid); //Set the timer to be able to sell cars again
    new string[128];
    new string2[128];
    format(string2, sizeof(string2), "CAR EXPORT: You must now wait %d minutes to sell another car!",wait_time); //Format "string2"
    SendClientMessage(playerid, COLOR_GREEN,string2); //Send "string2" as a SendClientMessage
    DestroyVehicle(GetPlayerVehicleID(playerid));
    GivePlayerMoney(playerid,stafford_price);
    SetPlayerScore(playerid, GetPlayerScore(playerid) + sell_car_bonus );
    format(gtstr, sizeof(gtstr), "~G~stafford sold for~N~~Y~$%i~W~!",stafford_price); //Format "string"
    GameTextForPlayer(playerid,gtstr,3000,sold_for_gametext); //Gametext
    cross3 = CreateObject(3086, -1534.62, 154.05, 1.99, 0.00, 0.00, 180.00);
    SetPlayerCameraPos(playerid,-1534.6313,150.5789,3.5547);
    SetPlayerCameraLookAt(playerid,-1534.4789,153.5749,4.6031);
    SetTimerEx("excam",reset_time*1000, false, "i", playerid);
    PlayerPlaySound(playerid,sell_car_sound,0.0,0.0,0.0);
    new name[16];
    GetPlayerName(playerid,name,16);
    format(string, sizeof(string), "\"%s\" has sold the Stafford for $%i!",name,stafford_price);
    SendClientMessageToAll(COLOR_GREEN, string);
    }
    else if(sold3 == 1)
    {
    GameTextForPlayer(playerid,"~R~stafford ~W~has already been sold!",3000,already_sold_gametext);
    }
    }
    //Sabre
    if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 475)
    {
    if(sold4 == 0)
    {
    sold4 = 1;
    sellon[playerid] = 0;
    SetTimerEx("exdel",wait_time*60000, false, "i", playerid); //Set the timer to be able to sell cars again
    new string[128];
    new string2[128];
    format(string2, sizeof(string2), "CAR EXPORT: You must now wait %d minutes to sell another car!",wait_time); //Format "string2"
    SendClientMessage(playerid, COLOR_GREEN,string2); //Send "string2" as a SendClientMessage
    DestroyVehicle(GetPlayerVehicleID(playerid));
    GivePlayerMoney(playerid,sabre_price);
    SetPlayerScore(playerid, GetPlayerScore(playerid) + sell_car_bonus );
    format(gtstr, sizeof(gtstr), "~G~sabre sold for~N~~Y~$%i~W~!",sabre_price); //Format "string"
    GameTextForPlayer(playerid,gtstr,3000,sold_for_gametext); //Gametext
    cross4 = CreateObject(3086, -1534.73, 154.05, 1.73, 0.00, 0.00, 180.00);
    SetPlayerCameraPos(playerid,-1534.6313,150.5789,3.5547);
    SetPlayerCameraLookAt(playerid,-1534.4789,153.5749,4.6031);
    SetTimerEx("excam",reset_time*1000, false, "i", playerid);
    PlayerPlaySound(playerid,sell_car_sound,0.0,0.0,0.0);
    new name[16];
    GetPlayerName(playerid,name,16);
    format(string, sizeof(string), "\"%s\" has sold the Sabre for $%i!",name,sabre_price);
    SendClientMessageToAll(COLOR_GREEN, string);
    }
    else if(sold4 == 1)
    {
    GameTextForPlayer(playerid,"~R~Sabre ~W~has already been sold!",3000,already_sold_gametext);
    }


    return reloadexport(playerid);
    }