_SET_VEHICLE_ROAD_LINK_FORCED
Picks the road/path link nearest (start to end) and stores it on the vehicle's driving component (used by R* Scripts to choose an exit link).
VEHICLEBuild 1207
Signature
lua
SetVehicleRoadLinkForced(GetVehiclePedIsIn(PlayerPedId(), false), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Vehicle | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — | |
| float | — |
Usage
lua
SetVehicleRoadLinkForced(GetVehiclePedIsIn(PlayerPedId(), false), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
