Label na kolima

Započeo Agent 47, Septembar 26, 2017, 19:36:16 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:UP cist
Detaljan opis problema:Napravio sam label za PD kola i baca mi error al ne kontam
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno): https://imgur.com/a/Jrk0e
Es ist nicht alles Gold, was glänzt


Nece opet isti problem
Es ist nicht alles Gold, was glänzt

Pa daj definiciju, uopšte mi ne ide u glavu zašto si tako definirao?


Evo ga 1 errror http://prntscr.com/gq0i0v
Es ist nicht alles Gold, was glänzt

Definisao 30 a ima samo 1
Swiss Gaming - Staff: Owner :)

Citat: SariX.tde poslato Septembar 26, 2017, 23:15:54 POSLE PODNE
Definisao 30 a ima samo 1

new Text3D:policija3d[MAX_VOZILA]


Probaj

o dole smakni ote nule u [] i zagrade oko nule
Swiss Gaming - Staff: Owner :)

Bar mislim da je to to
Swiss Gaming - Staff: Owner :)

Ti si ovdje sve pomijesao
evo ti primjer kako bi trebalo izgledat
new veh[2];
veh[0] = CreateVehicle(411,0.0,0.0,0.0,0,0,100);
veh[1] = CreateVehicle(411,0.0,0.0,0.0,0,0,100);

new Text3D:txt[2];
txt[0] = Create3DTextLabel("Tekst", -1,0.0,0.0,0.0,30.0, 0, 1);
txt[1]= Create3DTextLabel("Tekst", -1,0.0,0.0,0.0,30.0, 0, 1);

Attach3DTextLabelToVehicle(txt[0], veh[0], 0.0, 0.0, 0.0);
Attach3DTextLabelToVehicle(txt[1], veh[1], 0.0, 0.0, 0.0);


new PDVozilo[7];
new Text3D:PDLabel[sizeof(PDVozilo)];


PDVozilo[0] = CreateVehicle(416,1178.4215,-1338.6812,14.0212,270.5844,6,1, -1); //
	PDVozilo[1] = CreateVehicle(416,1178.3295,-1308.5007,13.9942,269.0874,6,1, -1); //
	PDVozilo[2] = CreateVehicle(416,1190.3779,-1311.4081,13.6441,180.0146,6,1, -1); //
	PDVozilo[3] = CreateVehicle(416,1190.4136,-1328.7921,13.6472,180.2799,6,1, -1); //
	PDVozilo[4] = CreateVehicle(416,1209.4058,-1359.7382,13.4819,2.0721,6,1, -1); //
	PDVozilo[5] = CreateVehicle(416,1209.4325,-1337.7991,13.5476,358.5516,6,1, -1); //
	PDVozilo[6] = CreateVehicle(416,1209.0547,-1315.9083,13.5482,1.5346,6,1, -1); //


for(new h=0; h < sizeof(PDVozilo); h++)
{
	    PDLabel[ h ] = Create3DTextLabel( "POLICIJA", 0xFF0000FF, 0.0, 0.0, 0.0, 10.0, 0, 1 );
	    Attach3DTextLabelToVehicle( PDLabel[ h ] , PDVozilo[ h ], 0.0, 0.0, 0.1);
}