SA-MP Forums Archive
I Have a Probelm with 3D TextLabel - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I Have a Probelm with 3D TextLabel (/showthread.php?tid=170305)



I Have a Probelm with 3D TextLabel - Kevin112 - 22.08.2010

Hello ich have a Problem

for(new i = 0; i < MAX_VEHICLES; i++)
{
new string2[700];
format(string2, sizeof(string2), "SA-%d",vehicleid);
kennzeichen = Create3DTextLabel(string2,0xFF5A00FF,30.0,30.0,5.0 ,30.0,0);
Attach3DTextLabelToVehicle(kennzeichen,i, 0.0, 0.0, 0.0);
}

what is the Problem


PS: sry for my Bad English xD


Re: I Have a Probelm with 3D TextLabel - billiout - 22.08.2010

Код:
Attach3DTextLabelToVehicle(kennzeichen,vehicle_id, 0.0, 0.0, 0.0);
attach to vehicle id not the player id.

https://sampwiki.blast.hk/wiki/Attach3DTextLabelToVehicle