SA-MP Forums Archive
Attach3DTextLabel not working!! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Attach3DTextLabel not working!! (/showthread.php?tid=519548)



Attach3DTextLabel not working!! - Birdkid1999 - 14.06.2014

Trying to make a callsign system and when I put the function for the label onto the vehicle it won't spawn or attach!!!!!!
Код:
for (new i = 0; i < MAX_DYNAMIC_CARS; i ++) if (CarData[i][carExists]) {
		static
	    	string[180];

		format(string, sizeof(string), "%s", CarData[i][carSign]);
  		CarData[i][carText3D] = Create3DTextLabel(string, 0x33AA33FF, 0.0, 0.0, 0.0, 50.0, 0, 1);
    	Attach3DTextLabelToVehicle(CarData[i][carText3D], i, 0.0, 2.0, 2.0);
	}