SET_VEHICLE_IS_CONSIDERED_BY_PLAYER
Setting this to false, makes the specified vehicle to where if you press Y your character doesn't even attempt the animation to enter the vehicle.
Hash
0x54800D386C5825E5Runtime name
SetVehicleIsConsideredByPlayerNamespaceVEHICLE
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x31B927BBC44156CDSignature
void SET_VEHICLE_IS_CONSIDERED_BY_PLAYER(Vehicle vehicle, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
toggle | BOOL | — |
Returns void
Description
Setting this to false, makes the specified vehicle to where if you press Y your character doesn't even attempt the animation to enter the vehicle. Hence it's not considered aka ignored.
Usage
SetVehicleIsConsideredByPlayer(vehicle, toggle)
-- always works, by hash
Citizen.InvokeNative(0x54800D386C5825E5, vehicle, toggle)JavaScript and C#
SetVehicleIsConsideredByPlayer(vehicle, toggle);
// by hash
Citizen.invokeNative('0x54800D386C5825E5', vehicle, toggle);Function.Call((Hash)0x54800D386C5825E5, vehicle, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.