PedEnterVehicle
Description
Make a ped enter a vehicle. There are various different checks to prevent the player from doing this. If you want the player in a vehicle, consider using PedWarpIntoCar.
function PedEnterVehicle(ped, vehicle) --[[ ... ]] end
Parameters
ped:integer- The ped that will enter the vehicle.vehicle:integer- The vehicle to be entered.
Return Values
None.
Example
None.