GetVehicle¶
Realm: SERVER (supported usage).
actor:GetVehicle()
Returns the chassis or nil. Requires the server vehicle provider; use InVehicle for a client occupancy check.
Source: lua/background_npcs_core/actor/components/sh_vehicle.lua.
Realm: SERVER (supported usage).
actor:GetVehicle()
Returns the chassis or nil. Requires the server vehicle provider; use InVehicle for a client occupancy check.
Source: lua/background_npcs_core/actor/components/sh_vehicle.lua.