04.09.2015, 15:24
Код:
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);



As we can see it overlap when we change camera view position!