Labeli na Vozilima Error

9. Nov. 2017.
1,058
pregleda
13
postova
Nikola4
4
Made Man
9. Nov. 2017.
Skripta koju koristim:GhostTown
Detaljan opis problema:Ubacujem novu org,pa stavljam Labele na njihova vozila,ali mi izlaze errori.Evo ih labeli,error je izgleda nesto oko "mscar".Definisao sam "mscar" pa to ne pravi problem,pa je izgleda nesto drugo. 
Dio skripte:
	mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);
mscar = Create3DTextLabel(""ZUTA"[MS-13]", 0x33CCFFAA, 0.0, 0.0, 0.0, 35.0, 0, 1);
Attach3DTextLabelToVehicle(mscar, vms13 ,0,0,0);

Neke slike/video za lakse dobivanje pomoci(neobavezno):prntscr.com/h896al
FunnyGamingDay - FGD
6
OG Legend
9. Nov. 2017.
Probaj da definises ovako:
new Text3D:mscar;
new ms13;

Former SA:MP server developer

Speeak
5
Underboss
9. Nov. 2017.
Zašto ne radiš preko loopa?

new ms13;
new Text3D:MS13_3D;

for(new Text_3D = 0; Text_3D < 15; Text_3D++)
{
MS13_3D = Create3DTextLabel("[ MS13 ]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 0);
  Attach3DTextLabelToVehicle(MS13_3D, ms13, 0.0, 0.0, 0.0);
}
Nikola4
4
Made Man
9. Nov. 2017.
Navikao sam onako da radim.A i pocetnik sam u skriptanju.
nickydefacto
4
Made Man
9. Nov. 2017.
Eto objasnili su ti , ali preko loopa ti je dosta lakse 🙂 da ne ispisujes 200 linija kad mozes sve u 4 , 5 linija 🙂
Nikola4
4
Made Man
9. Nov. 2017.
Hvala <3,nego samo jedno pitanje
Attach3DTextLabelToVehicle(MS13_3D, vms13, 0.0, 0.0, 0.0);
kod ovog vms13 da umesto Text_3D stavim koliko ima vozila ili samo da ostavim?
Nikola4
4
Made Man
9. Nov. 2017.
Kada uradim tako kao sto ste rekli label se ne stavi? Da nije zbog Text_3D u predzadnjoj liniji?
Roby Maper
5
OG Legend
9. Nov. 2017.
Sploxs wrote on November 9, 2017, 2:18 pm:
Zašto ne radiš preko loopa?

new ms13;
new Text3D:MS13_3D;

for(new Text_3D = 0; Text_3D < 15; Text_3D++)
{
MS13_3D = Create3DTextLabel("[ MS13 ]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 0);
  Attach3DTextLabelToVehicle(MS13_3D, ms13, 0.0, 0.0, 0.0);
}
Nikola4
4
Made Man
9. Nov. 2017.
Uradio sam kako ste rekli i nece :/
Hulk Anderson
4
Shot Caller
9. Nov. 2017.
Fiiiiiiiks e hah
Nikola4
4
Made Man
9. Nov. 2017.
Uradio sam sa loopom i nece :/
Nexy Afera
5
Underboss
10. Nov. 2017.
Moras ovo
for(new Text_3D = 0; Text_3D < 15; Text_3D++)
{
MS13_3D = Create3DTextLabel("[ MS13 ]", 0x33CCFFAA, 0.0, 0.0, 0.0, 20.0, 0, 0);
  Attach3DTextLabelToVehicle(MS13_3D, ms13, 0.0, 0.0, 0.0);
}

Ispod kreiranja MS13 vozila, znaci ispod CreateVehicle-a svih (Svih MS13 cvehiclea)
Nikola4
4
Made Man
10. Nov. 2017.
Radi,Hvala svima  😉

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha