# VEHICLE::SET_VEHICLE_IS_CONSIDERED_BY_PLAYER

- **Hash:** `0x54800D386C5825E5`
- **Namespace:** VEHICLE
- **Runtime name (Lua/JS):** `SetVehicleIsConsideredByPlayer`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/VEHICLE/SET_VEHICLE_IS_CONSIDERED_BY_PLAYER

## Signature

```c
void SET_VEHICLE_IS_CONSIDERED_BY_PLAYER(Vehicle vehicle, BOOL toggle);
```

## Parameters

- `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

### Lua

```lua
SetVehicleIsConsideredByPlayer(vehicle, toggle)

-- always available, by hash
Citizen.InvokeNative(0x54800D386C5825E5, vehicle, toggle)
```

### JavaScript

```js
SetVehicleIsConsideredByPlayer(vehicle, toggle);

// by hash
Citizen.invokeNative('0x54800D386C5825E5', vehicle, toggle);
```

### C#

```csharp
Function.Call((Hash)0x54800D386C5825E5, vehicle, toggle);
```

*Sources: alloc8or RDR3 NativeDB.*
