3D Text Labels werden nicht Angezeigt Ingame

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
  • Hey
    Hab das Problem das die 3D Text Labels nicht angezeigt werden.
    public Update3DTextBiz(BizID)
    {
    new string[256], h;
    h = BizID;
    DestroyPickup(BizPickup[h]);
    if(BizInfo[h][bOwned] == 1)
    {
    format(string, sizeof(string), "%s\n\nBesitzer: %s\nErpresser: %s\nEintrittspreis: $%d Level: %d\nProds benötigt: %d\nPreis/Prod: $%d\ngib /enter ein um das Biz zu betreten",BizInfo[h][bMessage],BizInfo[h][bOwner],BizInfo[h][bExtortion],BizInfo[h][bEntranceCost],BizInfo[h][bLevelNeeded],(BizInfo[h][bMaxProducts]-BizInfo[h][bProducts]),BizInfo[h][bPriceProd]);
    BizPickup[h] = CreatePickup(1239, 23, BizInfo[h][bEntranceX], BizInfo[h][bEntranceY], BizInfo[h][bEntranceZ]);
    }
    else
    {
    format(string, sizeof(string), "%s\nDieses Business steht zum Verkauf\nKosten: %s$ Level: %d\nBenutze /buybiz um das Business zu kaufen",BizInfo[h][bMessage],GetPoint(BizInfo[h][bBuyPrice]),BizInfo[h][bLevelNeeded]);
    BizPickup[h] = CreatePickup(1272, 23, BizInfo[h][bEntranceX], BizInfo[h][bEntranceY], BizInfo[h][bEntranceZ]);
    }
    Update3DTextLabelText(Text3D:Biz[h], COLOR_GREY2, string);
    return 1;
    }


    public Update3DTextsBiz(sBiz)
    {
    new string[256], h;
    h = sBiz;
    DestroyPickup(SBizPickup[h]);
    if(SBizInfo[h][sbOwned] == 1)
    {
    format(string, sizeof(string), "%s\n\nBesitzer: %s\nErpresser: %s\nEintrittspreis: $%d Level: %d\nProds benötigt: %d\nPreis/Prod: $%d\ngib /enter ein um das Biz zu betreten",SBizInfo[h][sbMessage],SBizInfo[h][sbOwner],SBizInfo[h][sbExtortion],SBizInfo[h][sbEntranceCost],SBizInfo[h][sbLevelNeeded],(SBizInfo[h][sbMaxProducts]-SBizInfo[h][sbProducts]),SBizInfo[h][sbPriceProd]);
    SBizPickup[h] = CreatePickup(1239, 23, SBizInfo[h][sbEntranceX], SBizInfo[h][sbEntranceY], SBizInfo[h][sbEntranceZ]);
    }
    else
    {
    format(string, sizeof(string), "%s\nDieses Busines steht zum Verkauf\nKosten: %s$ Level: %d\nBenutze /buybiz um das Business zu kaufen",SBizInfo[h][sbMessage],GetPoint(SBizInfo[h][sbBuyPrice]),SBizInfo[h][sbLevelNeeded]);
    SBizPickup[h] = CreatePickup(1272, 23, SBizInfo[h][sbEntranceX], SBizInfo[h][sbEntranceY], SBizInfo[h][sbEntranceZ]);
    }
    Update3DTextLabelText(Text3D:SBiz[h], COLOR_GREY2, string);
    return 1;
    }


    public Update3DTextTanke(Tanke)
    {
    new string[256], h;
    h = Tanke;
    DestroyPickup(TankenBizPickup[h]);
    if(TankenBizInfo[h][TBOwned] == 1)
    {
    format(string, sizeof(string), "%s\n\n{21DD00}Besitzer: {0082FF}%s\n{21DD00}Erpresser: {0082FF}%s\n{21DD00}Spritpreis: {21DD00}$%d {0082FF}Level: {0082FF}%d\n{21DD00}Prods benötigt: {0082FF}%d\n{21DD00}Preis/Prod: {0082FF}$%d",TankenBizInfo[h][TBMessage],TankenBizInfo[h][TBOwner],TankenBizInfo[h][TBExtortion],TankenBizInfo[h][TBSpritPreis],TankenBizInfo[h][TBLevelNeeded],(TankenBizInfo[h][TBMaxProducts]-TankenBizInfo[h][TBProducts]),TankenBizInfo[h][TBProdPreis]);
    TankenBizPickup[h] = CreatePickup(1239, 23, TankenBizInfo[h][TBPosX], TankenBizInfo[h][TBPosY], TankenBizInfo[h][TBPosZ]);
    }
    else
    {
    format(string, sizeof(string), "%s\n{21DD00}Dieses Busines steht zum Verkauf\nKosten: {0082FF}%s$ {21DD00}Level: {0082FF}%d\n{21DD00}Benutze {0082FF}/buybiz{21DD00} um das Business zu kaufen",TankenBizInfo[h][TBMessage],GetPoint(TankenBizInfo[h][TBKaufPreis]),TankenBizInfo[h][TBLevelNeeded]);
    TankenBizPickup[h] = CreatePickup(1272, 23, TankenBizInfo[h][TBPosX], TankenBizInfo[h][TBPosY], TankenBizInfo[h][TBPosZ]);
    }
    Update3DTextLabelText(Text3D:TankenBiz[h], COLOR_GRÜN, string);
    return 1;
    }
    new BizInfo[MaxBiz][bInfo] =
    {
    {1,"Staat","Gun Shop SF","Niemand",-2626.4827,209.3238,4.6004,285.6058,-86.0131,1001.5229,5,5000000,0,0,1,4,100000,100000,100,1,0},
    {1,"Staat","Gun Shop LS","Niemand",1791.5143,-1164.1787,23.8281,2169.461181,1618.798339,999.976562,5,5000000,0,0,1,1,100000,100000,100,2,0},
    {0,"Staat","Restaurant","Niemand",1420.1936,-1623.8427,13.5469,-794.936218,490.632385,1376.195312,5,5000000,0,0,1,1,100,500,100,3,0},
    {1,"Staat","LS Polizei Waffenkammer","Niemand",1568.625122,-1690.535766,5.890600,246.376007,109.246002,1003.218811,5,5000000,0,0,0,10,100000,1000000,100,1,0},
    {1,"Staat","Bank LS","Niemand",1462.395751,-1012.391174,26.843799,389.3555,173.8684,1008.3828,5,5000000,0,0,0,3,99999,100000,1,1,0},
    {1,"Staat","SF Polizei Waffenkammer","Niemand",-1593.8340,716.2302,-5.2422,226.7151,110.9211,1010.2188,5,5000000,0,0,1,10,100000,1000000,100,2,0},
    {1,"Staat","LV Polizei Waffenkammer","Niemand",611.0042,-583.9974,17.9763,227.3422,122.0904,1010.2188,5,5000000,0,0,0,10,100000,1000000,100,3,0},
    {1,"Staat","Bank SF","Niemand",-1749.3010,867.1620,25.0859,389.3555,173.8684,1008.3828,5,5000000,0,0,0,3,99999,100000,1,2,0},
    {1,"Staat","Gesund Fahren mit dem Fahrad verleih","Niemand",1312.5642,-873.9422,39.5781,1312.5642,-873.9422,39.5781,5,5000000,0,0,0,0,99999,100000,1,0,0},
    {1,"Staat","Ammu Nation","Niemand",1367.9816,-1279.9513,13.5469,286.148986,-40.644397,1001.515625,5,5000000,0,0,1,1,100000,100000,100,4,0},
    {1,"Staat","Gun Shop LV","Niemand",2158.5098,943.0615,10.8203,296.919982,-108.071998,1001.515625,5,5000000,0,0,1,6,100000,100000,100,5,0},
    {0,"Staat","Alhambra","Niemand",1834.9247,-1682.5403,13.4112,493.2791,-24.2553,1000.6797,5,5000000,0,0,1,17,500,500,100,2,0},
    {0,"Staat","Jizzy","Niemand",-2624.2668,1411.7013,7.0938,-2636.5610,1403.2194,906.4609,5,5000000,0,0,1,3,500,500,100,2,0},
    {0,"Staat","Donator Autohaus","Niemand",2200.5083,1394.3988,11.0625,2200.5083,1394.3988,11.0625,5,5000000,0,0,1,0,500,500,100,0,0},
    {0,"Staat","Telefon GmbH","Niemand",1382.1464,-1088.7307,28.2098,-2240.3855,137.1735,1035.4141,5,10000000,0,0,1,6,500,500,100,2,0},
    {1,"Staat","Ammu Nation Angle Pine","Niemand",-2093.2163,-2464.3862,30.6250,316.524993,-167.706985,999.593750,5,5000000,0,0,1,6,100000,100000,100,8,0},
    {1,"Staat","Bank LV","Niemand",938.7953,1733.1140,8.8516,389.3555,173.8684,1008.3828,5,5000000,0,0,0,3,99999,100000,1,3,0}
    };



    #define MaxSBiz 16
    new Text3D:SBiz[MaxSBiz];
    new SBizPickup[MaxSBiz];
    enum sbInfo
    {
    sbOwned,
    sbOwner[MAX_PLAYER_NAME],
    sbMessage[128],
    sbExtortion[MAX_PLAYER_NAME],
    Float:sbEntranceX,
    Float:sbEntranceY,
    Float:sbEntranceZ,
    sbLevelNeeded,
    sbBuyPrice,
    sbEntranceCost,
    sbTill,
    sbLocked,
    sbProducts,
    sbMaxProducts,
    sbPriceProd,
    sbExtortionTill,
    };
    new SBizInfo[MaxSBiz][sbInfo] =
    {
    {0,"Staat","Car Renting 1","Niemand",562.4050,-1289.9955,17.2482,99,5000000,0,0,1,100,100,100,0},
    {0,"Staat","Wang Cars","Niemand",-1968.5598,296.2696,35.1719,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","Strand Autovermietung","Niemand",535.0348,-1813.3927,6.5713,5,5000000,0,0,1,100,100,100,0}, // By WestCoast
    {0,"Staat","Flughafen San Fiero","Niemand",-1226.7306,55.2320,14.1322,5,5000000,0,0,1,100,100,100,0},
    {1,"Staat","Electricity Company","Niemand",-2521.0059,-623.3312,132.7690,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","Flughafen Los Santos","Niemand",1734.3334,-2636.7854,13.5469,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","House Upgrade","Niemand",2350.0000,-1411.8000,23.9923,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","Werbecenter","Niemand",844.6560,-1045.5557,25.4301,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","Rent Heli LV","Niemand",1601.3877,1531.1746,10.8243,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","24/7 Kette","Niemand",1205.9716,-1459.6737,13.3860,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","Paintball Arena","Niemand",1310.1266,-1367.8123,13.5408,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","Kart Track","Niemand",2281.9092,-2364.2791,13.5469,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","KFZ GmBH","Niemand",914.4495,-1003.9252,37.9935,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","Team Paintball","Niemand",1475.0658,-1360.7860,11.8828,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","Krankenhaus","Niemand",1173.4182,-1361.4773,13.9697,5,5000000,0,0,1,100,100,100,0},
    {0,"Staat","Boote verleih","Niemand",712.1712,-1743.5752,14.4056,5,5000000,0,0,1,100,100,100,0}
    };



    #define MaxTanken 21
    new Text3D:TankenBiz[MaxTanken];
    new TankenBizPickup[MaxTanken];
    enum TBInfo
    {
    TBOwned,
    TBOwner[MAX_PLAYER_NAME],
    TBMessage[128],
    TBExtortion[MAX_PLAYER_NAME],
    Float:TBPosX,
    Float:TBPosY,
    Float:TBPosZ,
    TBLevelNeeded,
    TBKaufPreis,
    TBSpritPreis,
    TBKasse,
    TBLocked,
    TBProducts,
    TBMaxProducts,
    TBProdPreis,
    TBExtortionKasse,
    };
    new TankenBizInfo[MaxTanken][TBInfo] =
    {
    {1,"Staat","Staatstanke","Niemand",1242.8752,-2055.2163,59.8995,5,500000,5,50000000,0,5000,5000,12,0},
    {0,"Staat","Zoll Tanke","Niemand",-91.7419,-1169.8896,2.4295,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","BSN Tanke","Niemand",1004.0728,-939.5931,42.1797,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer Alhambra","Niemand",1944.1292,-1772.9398,13.3906,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer SFPD","Niemand",-1675.7802,413.4920,7.1797,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer FS","Niemand",-2023.7025,156.5608,28.8359,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Ammunations Tanke LV","Niemand",2114.6165,920.3948,10.8203,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer LV","Niemand",2639.9248,1105.9448,10.8203,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer LVPD","Niemand",2202.2808,2475.0046,10.8203,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer Matpoint LV","Niemand",2147.4963,2747.4875,10.8203,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer Bandits Stadion","Niemand",1595.6571,2199.8210,10.8203,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer LV Land","Niemand",612.2269,1694.7743,6.9922,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Tanke Fort Carson","Niemand",70.4910,1218.7430,18.8123,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer LV","Niemand",-1328.4259,2677.5176,50.0625,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer SF","Niemand",-2407.5227,976.3151,45.2969,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer MC","Niemand",-2244.1470,-2560.7310,31.9219,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer MC 2","Niemand",-1605.4554,-2714.2219,48.5335,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Gasso","Niemand",655.5563,-565.0063,16.3359,5,500000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer","Niemand",-1471.4376,1863.8456,32.6328,5,5000000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer","Niemand",1381.4482,458.1955,19.9672,5,5000000,5,0,1,0,1000,12,0},
    {0,"Staat","Xoomer","Niemand",1769.1107,-1185.7532,24.1270,99,5000000,5,0,1,0,1000,12,0}
    };

  • Wo werden sie denn erstellt? Du updatest sie nur.