02.04.2010, 01:43
solved.
Originally Posted by cessil
you're creating the variable in a command, after that command is finished so it the variable, make it somewhere where it's going to stay alive like at the top of your script
|
new Text3D: VehicleText[MAX_VEHICLES];
new vehicleplate = 123456;
VehicleText[carid] = Create3DTextLabel(vehicleplate,0x008080FF,0.0,0.0,0.0,15,0,1)
Attach3DTextLabelToVehicle(VehicleText[carid], carid, 0.0, 0.0, 1.0);
Delete3DTextLabel(VehicleText[vehicleid]);