Calculate with coordinates?
#1

-- DELETED --
Reply
#2

PHP код:
GetVehiclePartPos(vehicleid,partid,&Float:tx,&Float:ty,&Float:tz,Float:offset_x=0.0,Float:offset_y=0.0,Float:offset_z=0.0);
//partid:
VEHICLE_PART_RFTIRE         Right Front tire
VEHICLE_PART_LFTIRE         
Left Front tire
VEHICLE_PART_RRTIRE         
Right Rear tire
VEHICLE_PART_LRTIRE         
Left Rear tire 
3DTryg.inc:
https://sampforum.blast.hk/showthread.php?tid=591010
Reply
#3

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
PHP код:
GetVehiclePartPos(vehicleid,partid,&Float:tx,&Float:ty,&Float:tz,Float:offset_x=0.0,Float:offset_y=0.0,Float:offset_z=0.0);
//partid:
VEHICLE_PART_RFTIRE         Right Front tire
VEHICLE_PART_LFTIRE         
Left Front tire
VEHICLE_PART_RRTIRE         
Right Rear tire
VEHICLE_PART_LRTIRE         
Left Rear tire 
3DTryg.inc:
https://sampforum.blast.hk/showthread.php?tid=591010
Well and which function do I need to use from 3dtryg?
Reply
#4

Quote:
Originally Posted by danielpalade
Посмотреть сообщение
Well and which function do I need to use from 3dtryg?
GetVehiclePartPos lol

-----

Coordinate 1: 1373.0813, 784.131, 30.1
Coordinate 2: 0.1311, 1.94, 0.13

x = (1373.0813 + 0.1311)
y = (784.131 + 1.94)
z = (30.1 + 0.13)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)