Pickups sind nicht da...

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
  • Hi,


    Ich habe folgendes Problem:


    Ich habe 9 Pickups gemacht, doch es werden irgendwie nicht alle angezeigt, obwohl ich überall das gleiche hab.


    Komischerweise gehen Pickup 1,2,7,9


    Pickup 3,4,5,6 und 8 funktionieren komischerweise nicht.


    Hier den Auszug aus dem Script:


    Ganz oben:
    new pickup1;
    new pickup2;
    new pickup3;
    new pickup4;
    new pickup5;
    new pickup6;
    new pickup7;
    new pickup8;
    new pickup9;


    Bei OnGameModeInit:
    Create3DTextLabel("Vice's House!",0xFFFA00FF,732.9096,-2704.9937,15.1482,30, 0);
    Create3DTextLabel("Jumper's House!",0xFFFA00FF,745.4088,-2633.9280,15.1482,30, 0);
    Create3DTextLabel("Denis' House!",0xFFFA00FF,677.2919,-2661.8337,15.1890,31,30, 0);
    Create3DTextLabel("Xlife's House!",0xFFFA00FF,796.8848,-2690.2212,15.8905,30, 0);

    Create3DTextLabel("Dumper Spawnen!",0xFFFA00FF,1977.5911,-2588.9846,4455.1924,30, 0);
    Create3DTextLabel("Monstertruck Spawnen!",0xFFFA00FF,1943.7128,-2560.8726,4455.1924,30, 0);
    Create3DTextLabel("Roadtrain Spawnen!",0xFFFA00FF,1970.2368,-2527.1218,4455.1924,30, 0);
    Create3DTextLabel("Duneride Spawnen!",0xFFFA00FF,2006.7117,-2553.7695,4455.1924,30, 0);
    pickup1 = CreatePickup(1318, 1, 732.9096,-2704.9937,15.1482);
    pickup2 = CreatePickup(1318, 1, 1260.6768,-785.4185,1091.9063);
    pickup3 = CreatePickup(1318, 1, 1977.5911,-2588.9846,4455.1924);
    pickup4 = CreatePickup(1318, 1, 1943.7128,-2560.8726,4455.1924);
    pickup5 = CreatePickup(1318, 1, 1970.2368,-2527.1218,4455.1924);
    pickup6 = CreatePickup(1318, 1, 2006.7117,-2553.7695,4455.1924);
    pickup7 = CreatePickup(1318, 1, 745.4088,-2633.9280,15.1482);
    pickup8 = CreatePickup(1318, 1, 677.2919,-2661.8337,15.1890,31);
    pickup9 = CreatePickup(1318, 1, 796.8848,-2690.2212,15.8905);
    (Die Labels sind aber alle da..)


    Und bei OnPlayerPickupPickup:
    if(pickupid==pickup1)
    {
    if(isPlayerAnAdmin(playerid,5))
    {
    SetPlayerInterior(playerid, 5);
    SetPlayerPos(playerid, 1267.663208,-781.323242,1091.906250);
    }
    }
    if(pickupid==pickup2)
    {
    if(isPlayerAnAdmin(playerid,5))
    {
    SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 732.6526,-2702.0686,15.1482);
    }
    }
    if(pickupid==pickup3)
    {
    new vehid;
    vehid=CreateVehicle(406, 1977.5911,-2588.9846,4455.1924, 0.0000, 0, 0, 100);
    CreateVehicle(406, 1977.5911,-2588.9846,4455.1924, 0.0000, 0, 0, 100);
    PutPlayerInVehicle(playerid,vehid,0);
    }
    if(pickupid==pickup4)
    {
    new vehid;
    vehid=CreateVehicle(444, 1943.7128,-2560.8726,4455.1924, 0.0000, 0, 0, 100);
    CreateVehicle(444, 1943.7128,-2560.8726,4455.1924, 0.0000, 0, 0, 100);
    PutPlayerInVehicle(playerid,vehid,0);
    }
    if(pickupid==pickup5)
    {
    new vehid;
    vehid=CreateVehicle(515, 1970.2368,-2527.1218,4455.1924, 0.0000, 0, 0, 100);
    CreateVehicle(515, 1970.2368,-2527.1218,4455.1924, 0.0000, 0, 0, 100);
    PutPlayerInVehicle(playerid,vehid,0);
    }
    if(pickupid==pickup6)
    {
    new vehid;
    vehid=CreateVehicle(573, 2006.7117,-2553.7695,4455.1924, 0.0000, 0, 0, 100);
    CreateVehicle(573, 2006.7117,-2553.7695,4455.1924, 0.0000, 0, 0, 100);
    PutPlayerInVehicle(playerid,vehid,0);
    }
    if(pickupid==pickup7)
    {
    if(isPlayerAnAdmin(playerid,5))
    {
    SetPlayerInterior(playerid, 18);
    SetPlayerPos(playerid, 1710.433715,-1669.379272,20.225049);
    }
    }
    if(pickupid==pickup8)
    {
    if(isPlayerAnAdmin(playerid,5))
    {
    SetPlayerInterior(playerid, 12);
    SetPlayerPos(playerid, 2324.419921,-1145.568359,1050.710083);
    }
    }
    if(pickupid==pickup9)
    {
    if(isPlayerAnAdmin(playerid,12))
    {
    SetPlayerInterior(playerid, 5);
    SetPlayerPos(playerid, 2324.419921,-1145.568359,1050.710083);
    }
    }


    Was stimmt da nicht?


    Die Limits an Pickups liegen ja über 2000, also kanns an dem nich liegen...


    Mfg Vince

  • mach mal hinten bei den pick ups noch eine -1CreatePickup(1239,1,238.7930,138.8116,1003.0234,-1); so z.b.

  • Sind die cordinaten richtig?
    Hast du sie schon ml gesehen? wenn ja was hast du geändert