# PLAYER::_SET_PLAYER_IN_VEHICLE_TARGETING_MODE

- **Hash:** `0x19B4F71703902238`
- **Namespace:** PLAYER
- **Runtime name (Lua/JS):** `SetPlayerInVehicleTargetingMode`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PLAYER/_SET_PLAYER_IN_VEHICLE_TARGETING_MODE

## Signature

```c
void _SET_PLAYER_IN_VEHICLE_TARGETING_MODE(int targetMode);
```

## Parameters

- `targetMode` (`int`)

## Returns

`void`

## Description

Sets your targeting mode for when you're in a vehicle (perhaps a mount/horse).
see SET_PLAYER_TARGETING_MODE for eTargetingMode

## Usage

### Lua

```lua
SetPlayerInVehicleTargetingMode(targetMode)

-- always available, by hash
Citizen.InvokeNative(0x19B4F71703902238, targetMode)
```

### JavaScript

```js
SetPlayerInVehicleTargetingMode(targetMode);

// by hash
Citizen.invokeNative('0x19B4F71703902238', targetMode);
```

### C#

```csharp
Function.Call((Hash)0x19B4F71703902238, targetMode);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
