GET_VEHICLE_LOCK_ON_TARGET
Gets the vehicle that is locked on to for the specified vehicle.
CFX
Signature
lua
GetVehicleLockOnTarget(GetVehiclePedIsIn(PlayerPedId(), false))
-- returns VehicleParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | The vehicle to check. |
Usage
lua
GetVehicleLockOnTarget(GetVehiclePedIsIn(PlayerPedId(), false))Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
