This vehicle label doesnt show
#1

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 Код:
new CrazyDriverVeh;
pawn Код:
CrazyDriverVeh = CreateVehicle(411, 0.0, 0.0, 5.0, 0.0, 3, 3, 5000);
Thanks for the great help,like always.
Reply


Messages In This Thread
This vehicle label doesnt show - by Face9000 - 04.05.2012, 11:19
Re: This vehicle label doesnt show - by ViniBorn - 04.05.2012, 14:22
Re: This vehicle label doesnt show - by Face9000 - 04.05.2012, 14:33

Forum Jump:


Users browsing this thread: 1 Guest(s)