[FRAGE: Nummernschild für die jeweilige Fraktion ?]

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
  • Also ich habe das so gemacht aber die 3d nummernschilder werden nicht angezeigt ?


    public OnGameModeInit()
    {
    //======================= [ 3D Nummernschild System ] ========================
    new Text3D:CCCars0 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars0, CCars[0], 0.0, 0.0, 0.0);


    new Text3D:CCCars1 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars1, CCars[1], 0.0, 0.0, 0.0);


    new Text3D:CCCars2 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars2, CCars[2], 0.0, 0.0, 0.0);


    new Text3D:CCCars3 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars3, CCars[3], 0.0, 0.0, 0.0);


    new Text3D:CCCars4 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars4, CCars[4], 0.0, 0.0, 0.0);


    new Text3D:CCCars5 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars5, CCars[5], 0.0, 0.0, 0.0);


    new Text3D:CCCars6 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars6, CCars[6], 0.0, 0.0, 0.0);


    new Text3D:CCCars7 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars7, CCars[7], 0.0, 0.0, 0.0);


    new Text3D:CCCars8 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars8, CCars[8], 0.0, 0.0, 0.0);


    new Text3D:CCCars9 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars9, CCars[9], 0.0, 0.0, 0.0);


    new Text3D:CCCars10 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars10, CCars[10], 0.0, 0.0, 0.0);


    new Text3D:CCCars11 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars11, CCars[11], 0.0, 0.0, 0.0);


    new Text3D:CCCars12 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars12, CCars[12], 0.0, 0.0, 0.0);


    Das sind meine LSPD Fahrzeuge:
    CCars[0]=AddStaticVehicleEx(596,1602.3473,-1631.3943,13.2254,95.5385,1,53,900); // spawnpunkt
    CCars[1]=AddStaticVehicleEx(596,1601.4146,-1627.0009,13.2021,96.6815,1,53,900); // spawnpunkt
    CCars[2]=AddStaticVehicleEx(596,1578.5509,-1710.1372,5.6114,1.9930,1,53,900); // spawnpunkt
    CCars[3]=AddStaticVehicleEx(596,1544.6143,-1645.8926,5.6117,137.2145,1,53,900); // spawnpunkt
    CCars[4]=AddStaticVehicleEx(596,1600.5957,-1696.4229,5.6117,88.9066,1,53,900); // spawnpunkt
    CCars[5]=AddStaticVehicleEx(596,1600.7195,-1688.2073,5.6123,89.5649,1,53,900); // spawnpunkt
    CCars[6]=AddStaticVehicleEx(599,1599.4655,-1691.9812,6.0815,89.1419,1,53,900); // spawnpunk
    CCars[7]=AddStaticVehicleEx(599,1591.1240,-1711.2455,6.0776,0.2440,1,53,900); // spawnpunk
    CCars[8]=AddStaticVehicleEx(599,1529.6580,-1688.3328,6.0806,270.0360,1,53,900); // spawnpunk
    CCars[9]=AddStaticVehicleEx(497,1549.6096,-1707.0879,28.5715,86.0482,1,53,900); // spawnpunkt
    CCars[10]=AddStaticVehicleEx(497,1549.2664,-1643.8948,28.5516,87.0959,1,53,900); // spawnpunkt
    CCars[11]=AddStaticVehicleEx(523,1557.6248,-1712.6948,5.4610,2.6269,1,53,900); // LSPDBike1
    CCars[12]=AddStaticVehicleEx(523,1560.1682,-1712.6449,5.4622,0.0872,1,53,900); // LSPDBike2


    Edit // Text eingefügt
    Edit // Text verändert


    SA-MP Zeit: Since Juni - 2006 - Mai 2011


    2 Mal editiert, zuletzt von HighDef ()

  • ohman ihr macht das alle so geil falsch :D so muss das aussehen


    new FahrschulVehs[18];


    FahrschulVehs[1] = SetVehicleNumberPlate(AddStaticVehicleEx(551,1802.79980000,-1901.99460000,13.30050000,89.46470000,1,1,-1),"F-Schule");
    FahrschulVehs[2] = SetVehicleNumberPlate(AddStaticVehicleEx(551,1802.74760000,-1907.88440000,13.29770000,88.91950000,1,1,-1),"F-Schule");
    FahrschulVehs[3] = SetVehicleNumberPlate(AddStaticVehicleEx(551,1802.82890000,-1914.01460000,13.29470000,89.38130000,1,1,-1),"F-Schule");
    FahrschulVehs[4] = SetVehicleNumberPlate(AddStaticVehicleEx(522,1809.74610000,-1926.29040000,13.12480000,269.35040000,1,1,-1),"F-Schule");
    FahrschulVehs[5] = SetVehicleNumberPlate(AddStaticVehicleEx(522,1809.66970000,-1930.45200000,13.11830000,271.83560000,1,1,-1),"F-Schule");
    FahrschulVehs[6] = SetVehicleNumberPlate(AddStaticVehicleEx(522,1809.65090000,-1934.52340000,13.11040000,269.93380000,1,1,-1),"F-Schule");
    FahrschulVehs[7] = SetVehicleNumberPlate(AddStaticVehicleEx(522,1809.53210000,-1937.83620000,13.09760000,267.78930000,1,1,-1),"F-Schule");
    FahrschulVehs[8] = SetVehicleNumberPlate(AddStaticVehicleEx(522,1809.57500000,-1940.44570000,13.10490000,272.72860000,1,1,-1),"F-Schule");
    FahrschulVehs[9] = SetVehicleNumberPlate(AddStaticVehicleEx(551,1802.72380000,-1919.62740000,13.29190000,89.53540000,1,1,-1),"F-Schule");
    FahrschulVehs[10] = SetVehicleNumberPlate(AddStaticVehicleEx(551,1802.60510000,-1926.06140000,13.28870000,88.95670000,1,1,-1),"F-Schule");
    FahrschulVehs[11] = SetVehicleNumberPlate(AddStaticVehicleEx(551,1802.44140000,-1932.05200000,13.28580000,87.80890000,1,1,-1),"F-Schule");
    FahrschulVehs[12] = SetVehicleNumberPlate(AddStaticVehicleEx(515,1779.13420000,-1901.73390000,14.41090000,270.22030000,1,1,-1),"F-Schule");
    FahrschulVehs[13] = SetVehicleNumberPlate(AddStaticVehicleEx(515,1779.20070000,-1907.79520000,14.40630000,270.82100000,1,1,-1),"F-Schule");
    FahrschulVehs[14] = SetVehicleNumberPlate(AddStaticVehicleEx(411,1778.60780000,-1914.00070000,13.06170000,268.32870000,1,1,-1),"F-Schule");
    FahrschulVehs[15] = SetVehicleNumberPlate(AddStaticVehicleEx(411,1778.93330000,-1920.18360000,13.06180000,268.43940000,1,1,-1),"F-Schule");
    FahrschulVehs[16] = SetVehicleNumberPlate(AddStaticVehicleEx(411,1779.87330000,-1925.83230000,13.06200000,270.69040000,1,1,-1),"F-Schule");
    FahrschulVehs[17] = SetVehicleNumberPlate(AddStaticVehicleEx(411,1780.00330000,-1932.40060000,13.05970000,270.13880000,1,1,-1),"F-Schule");


    so und da ich davon ausgehe das du 0.3c hast wird hinten so ist es bei mir F-Schule stehen naja viel spaß damit ^^


    nimm lieber meins was der da schreibt ist unfug bei mir auf den server kommt das gut an als biliges 3dtext das ist ja bä 0.3b ist vergangenheit


    //Edit was hinzugefügt

    Einmal editiert, zuletzt von Police ()

  • Also so wie ich das gemacht habe geht es irgend wie nicht ?
    Möchte es ja mit ein 3D Text über den fahrzeug haben.
    //======================= [ 3D Nummernschild System ] ========================
    new Text3D:CCCars0 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars0, CCars[0], 0.0, 0.0, 0.0);


    new Text3D:CCCars1 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars1, CCars[1], 0.0, 0.0, 0.0);


    new Text3D:CCCars2 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars2, CCars[2], 0.0, 0.0, 0.0);


    new Text3D:CCCars3 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars3, CCars[3], 0.0, 0.0, 0.0);


    new Text3D:CCCars4 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars4, CCars[4], 0.0, 0.0, 0.0);


    new Text3D:CCCars5 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars5, CCars[5], 0.0, 0.0, 0.0);


    new Text3D:CCCars6 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars6, CCars[6], 0.0, 0.0, 0.0);


    new Text3D:CCCars7 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars7, CCars[7], 0.0, 0.0, 0.0);


    new Text3D:CCCars8 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars8, CCars[8], 0.0, 0.0, 0.0);


    new Text3D:CCCars9 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars9, CCars[9], 0.0, 0.0, 0.0);


    new Text3D:CCCars10 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars10, CCars[10], 0.0, 0.0, 0.0);


    new Text3D:CCCars11 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars11, CCars[11], 0.0, 0.0, 0.0);


    new Text3D:CCCars12 = Create3DTextLabel("[BL:LSPD]",0xFF0000FF,30.0,30.0,5.0,30.0,0);
    Attach3DTextLabelToVehicle(CCCars12, CCars[12], 0.0, 0.0, 0.0);


    SA-MP Zeit: Since Juni - 2006 - Mai 2011


  • ja würde ich auch an deiner stelle nicht machen ich hatte das auch so nur mit schleife und einen pulic aber das sah so scheiße aus das ich das mit sevvehnumberplate es gemacht habe ninn lieber das kann ich dir nur raten
    MFG