04.09.2015, 10:57
Hello guys I have problem with 3d label! Problem is... I attached some 3d labels on vehicle and when I enter vehicle and i rotate my camera on car roof(90 degrees) it overlaps... How could I fix that?
new ownerstring[100]; format(ownerstring,sizeof(ownerstring),"[Vehicle Owner]:[%s]",VehicleInfo[i][Owner]); COLabel[i] = Create3DTextLabel(ownerstring, -1, 0.0, 0.0, 0.0, 7.5, 0, 1 ); Attach3DTextLabelToVehicle(COLabel[i] , VehicleIDs[i], 0.0, 0.0, 0.6); new modelstring[100]; format(modelstring,sizeof(modelstring),"[Vehicle Name(Model)]:[%s(%d)]",VehicleName[GetVehicleModel(i)-400],VehicleInfo[i][Model]); COLabel[i] = Create3DTextLabel(modelstring, -1, 0.0, 0.0, 0.0, 7.5, 0, 1 ); Attach3DTextLabelToVehicle(COLabel[i] , VehicleIDs[i], 0.0, 0.0, 0.4); new pricestring[100]; format(pricestring,sizeof(pricestring),"[Price]:[%d]",VehicleInfo[i][Price]); COLabel[i] = Create3DTextLabel(pricestring, -1, 0.0, 0.0, 0.0, 7.5, 0, 1 ); Attach3DTextLabelToVehicle(COLabel[i] , VehicleIDs[i], 0.0, 0.0, 0.2);