This vehicle label doesnt show - 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: This vehicle label doesnt show (
/showthread.php?tid=339616)
This vehicle label doesnt show -
Face9000 - 04.05.2012
Ok guys,i've created my first NPC and it's working good.(The NPC is on a vehicle),but i've a problem.I've created a label to attach it on the NPC that is driving the vehicle so i made in this way:
pawn Код:
new Text3D:CrazyDriverText;
OnGameModeInit:
pawn Код:
CrazyDriverText = Create3DTextLabel( "[BOT]Crazy Driver", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
pawn Код:
Attach3DTextLabelToVehicle(CrazyDriverText, CrazyDriverVeh, 0.0, 0.0, 5.0);
CrazyDriverVeh refers to the vehicle that i've created for the NPC:
pawn Код:
CrazyDriverVeh = CreateVehicle(411, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
Thanks for the great help,like always.
Re: This vehicle label doesnt show -
ViniBorn - 04.05.2012
pawn Код:
//OnGameModeInit
new Text3D:CrazyDriverText, CrazyDriverVeh;
CrazyDriverText = Create3DTextLabel( "[BOT]Crazy Driver", 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1 );
CrazyDriverVeh = CreateVehicle(411, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
Attach3DTextLabelToVehicle(CrazyDriverText, CrazyDriverVeh, 0.0, 0.0, 2.0);
Are you using streamer?
Re: This vehicle label doesnt show -
Face9000 - 04.05.2012
Yeah im using.Now it works.