[POMOC]Ne prikazuje 3dtext na vozilima

Započeo [IG]BLADE
3. Mar. 2015. Zaključano
415
pregleda
10
postova
BLADE1
2
Street Runner
3. Mar. 2015.
Skripta koju koristim:Moja
Detaljan opis problema:Ne prikazuje mi 3dtext na vozilima
Dio skripte:
//------------------------------[ LCN VOZILA]-----------------------------------
LCNVozila = AddStaticVehicleEx(579,1244.5940000,-2010.6034000,59.7630000,180.0000000,14,14,300000); //Huntley
LCNVozila = AddStaticVehicleEx(579,1250.3428000,-2010.4595000,59.7630000,180.0000000,14,14,300000); //Huntley
LCNVozila = AddStaticVehicleEx(579,1256.9592000,-2010.4768000,59.7630000,180.0000000,14,14,300000); //Huntley
LCNVozila = AddStaticVehicleEx(579,1263.2786000,-2010.3291000,59.7630000,180.0000000,14,14,300000); //Huntley
LCNVozila = AddStaticVehicleEx(579,1269.9955000,-2010.5370000,59.7630000,180.0000000,14,14,300000); //Huntley
LCNVozila = AddStaticVehicleEx(579,1276.5277000,-2010.4825000,59.7630000,180.0000000,14,14,300000); //Huntley
LCNVozila = AddStaticVehicleEx(522,1254.7802000,-2044.2373000,59.2549000,0.0000000,14,14,300000); //NRG-500
LCNVozila = AddStaticVehicleEx(522,1249.8800000,-2044.1492000,59.2549000,0.0000000,14,14,300000); //NRG-500
LCNVozila = AddStaticVehicleEx(522,1245.4890000,-2044.0317000,59.2549000,0.0000000,14,14,300000); //NRG-500
LCNVozila = AddStaticVehicleEx(522,1273.5848000,-2044.9747000,58.5077000,0.0000000,14,14,300000); //NRG-500
LCNVozila = AddStaticVehicleEx(522,1277.3375000,-2045.1390000,58.5468000,0.0000000,14,14,300000); //NRG-500
LCNVozila = AddStaticVehicleEx(409,1244.4193000,-2027.5909000,59.5291000,-180.0000000,14,14,300000); //Stretch
LCNVozila = AddStaticVehicleEx(440,1278.4327000,-2027.0280000,59.2354000,180.0000000,14,14,300000); //Rumpo
new Text3D:LCNLABEL;
LCNLABEL = Create3DTextLabel( "[ LCN ]", 0xFF0000, 0.0, 0.0, 0.0, 50.0, 0, 1 );
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);
Attach3DTextLabelToVehicle( LCNLABEL , LCNVozila, 0.0, 0.0, 2.0);

Neke slike/video za lakse dobivanje pomoci(neobavezno)://
Rudimental
5
OG Legend
3. Mar. 2015.
Predpostavljam da ti se enum za vozila zove CarInfo ako ne onda ti promeni u varijabli.. Znaci ispod tog enuma za vozila dodas ovo
new Text3D:VehicleLabel[sizeof(CarInfo)];


I onda jednostavno u public OnGameModeInit radis ovako te 3DTextove za vozila
VehicleLabel[ID vozila] = CreateDynamic3DTextLabel("Text", Boja, 0.0, 0.0, 0.0, 10.0, INVALID_PLAYER_ID, ID vozila);
Leon27
5
Crime Lord
3. Mar. 2015.
Ako hoces to sto si zamislio moras ga kreirati za sva ta vozila pa tek onda ih attach
BLADE1
2
Street Runner
3. Mar. 2015.
Rudimental vatijabla onda ide ovako?
VehicleLabel[LCNVozila] = CreateDynamic3DTextLabel("Text", Boja, 0.0, 0.0, 0.0, 10.0, INVALID_PLAYER_ID, ID vozila);
Rudimental
5
OG Legend
3. Mar. 2015.
Ne brt lepo sam ti napisao ID Vozila ... Odes u igru vidis ID-ove vozila na koje ces da lepis text i eto ga ...
BLADE1
2
Street Runner
5. Mar. 2015.
Ponovo nista ne prikazuje, ovako mi je napisano
new Text3D:VehicleLabel[sizeof(Vozila)];
    VehicleLabel = CreateDynamic3DTextLabel("Text", 0xFF0000, 0.0, 0.0, 0.0, 10.0, INVALID_PLAYER_ID, 131);
Rudimental
5
OG Legend
5. Mar. 2015.
Jel si stavio ovo kreiranje ispod ucitanih vozila primer

public OnGameModeInit()
{
    // Recimo ovde imas ucitavanje za vozila
    // I odma ovde ispod toga bi trebao da stavljas te Textove ...
    return 1;
}
BLADE1
2
Street Runner
5. Mar. 2015.
Tu je, nece, ako ce nesto da pomogne edit UP-a je
Rudimental
5
OG Legend
6. Mar. 2015.
Ne znam zasto nebih htelo ako uradis ovako kako sam ti rekao tako je kod mene i nikad problema nisam imao ...
Leon27
5
Crime Lord
6. Mar. 2015.
Kreiraj za svako vozilo label i attach ga inace drugacie ti nece moci  😢

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha