I’m trying to use a function to check if the driver is the owner of vehicle, but all time the tests with the function GetVehicleOwner return false.
local enterVeh = GetVehiclePedIsIn( GetPlayerPed(-1) ) -- its ok
if (enterVeh ~= nil) then -- its ok
local ownerOfVehicle = GetVehicleOwner(enterVeh) -- always return false???
end