Započeo [IG]BLADE
•3. Mar. 2015.• Zaključano[POMOC]Ne prikazuje 3dtext na vozilima
443
pregleda
10
postova
Street Runner
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
19
Postovi:
8
Teme:
Pridružio se:Jan. 2014
3. Mar. 2015.
Skripta koju koristim:Moja
Detaljan opis problema:Ne prikazuje mi 3dtext na vozilima
Dio skripte:
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
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)://
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
246 / 250 XP
Početnik(0)
2,678
Postovi:
133
Teme:
Pridružio se:Maj 2012
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
I onda jednostavno u public OnGameModeInit radis ovako te 3DTextove za vozila
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);OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
246 / 250 XP
Početnik(0)
2,678
Postovi:
133
Teme:
Pridružio se:Maj 2012
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 ...
Street Runner
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
19
Postovi:
8
Teme:
Pridružio se:Jan. 2014
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);OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
246 / 250 XP
Početnik(0)
2,678
Postovi:
133
Teme:
Pridružio se:Maj 2012
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;
}
OG Legend
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
246 / 250 XP
Početnik(0)
2,678
Postovi:
133
Teme:
Pridružio se:Maj 2012
6. Mar. 2015.
Ne znam zasto nebih htelo ako uradis ovako kako sam ti rekao tako je kod mene i nikad problema nisam imao ...
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava