3d Label overlap problem[REP +]
#1

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?
Reply
#2

Mind to show a screensshot and code(s).
Reply
#3

Код:
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!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)