14.05.2016, 17:34
Hi!
Looking at the documentation here: https://sampwiki.blast.hk/wiki/Vehicle_information_types
GetVehicleModelInfo with the info type VEHICLE_MODEL_INFO_FRONTSEAT returns X Y Z offsets from the center of the vehicle model.
What you want is GetVehiclePos, which returns the vehicle's position in the game world.
Looking at the documentation here: https://sampwiki.blast.hk/wiki/Vehicle_information_types
GetVehicleModelInfo with the info type VEHICLE_MODEL_INFO_FRONTSEAT returns X Y Z offsets from the center of the vehicle model.
What you want is GetVehiclePos, which returns the vehicle's position in the game world.