08.01.2010, 16:54
Hi
I am using the following code to attach a 3d label to a vehicle when you select it in a dialog. However it does not appear to work. Can anyone see a problem?
new vehicleid;
format(message, 256, "The display has been set to 401 BAYLINER", listitem);
SendClientMessage(playerid, 0xFFFFFFFF, message);
bayliner_401 = Create3DTextLabel("401 'Bayliner' BAYSIDE via Gant Bridge Visitor Centre",0xFF9900FF,0.0,0.0,0.0,40.0,0);// The output of the selection
vehicleid = GetPlayerVehicleID(playerid);
Attach3DTextLabelToVehicle(Text3D: bayliner_401, vehicleid, 0.0, 0.0, 0.0);
I am using the following code to attach a 3d label to a vehicle when you select it in a dialog. However it does not appear to work. Can anyone see a problem?
new vehicleid;
format(message, 256, "The display has been set to 401 BAYLINER", listitem);
SendClientMessage(playerid, 0xFFFFFFFF, message);
bayliner_401 = Create3DTextLabel("401 'Bayliner' BAYSIDE via Gant Bridge Visitor Centre",0xFF9900FF,0.0,0.0,0.0,40.0,0);// The output of the selection
vehicleid = GetPlayerVehicleID(playerid);
Attach3DTextLabelToVehicle(Text3D: bayliner_401, vehicleid, 0.0, 0.0, 0.0);