Attaching a 3D text to a vehicle
#1

.....
Reply
#2

Код:
vid = House_AddVehicle(HouseID, cModel, cPaint, cComponents, cx, cy, cz, crot, Col1, Col2);
     new owners[120];
     new vehicleid = AHouseData[HouseID][VehicleIDs];
     format(owners, sizeof(owners),"%s\nOwned by %s",GetVehicleName(vid),AVehicleData[vehicleid][Owner]);
     new Text3D:vehicle3dtext[vid] = Create3DTextLabel(owners, 0xFF0000AA, 0.0,0.0,0.0,50.0,0);// ERROR LINE 3217
     Attach3DTextLabelToVehicle(vehicle3dtext,vid,0.0,0.0,0.0);
This? You didn't add a tag to vehicle3dtext.
Reply
#3

Quote:
Originally Posted by coakiddo
Посмотреть сообщение
Код:
vid = House_AddVehicle(HouseID, cModel, cPaint, cComponents, cx, cy, cz, crot, Col1, Col2);
     new owners[120];
     new vehicleid = AHouseData[HouseID][VehicleIDs];
     format(owners, sizeof(owners),"%s\nOwned by %s",GetVehicleName(vid),AVehicleData[vehicleid][Owner]);
     new Text3D:vehicle3dtext[vid] = Create3DTextLabel(owners, 0xFF0000AA, 0.0,0.0,0.0,50.0,0);// ERROR LINE 3217
     Attach3DTextLabelToVehicle(vehicle3dtext,vid,0.0,0.0,0.0);
This? You didn't add a tag to vehicle3dtext.
Works like a charm
Cheers!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)