# PED::_SET_PED_COMBAT_SPEED

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

## Signature

```c
void _SET_PED_COMBAT_SPEED(Ped ped, int speed);
```

## Parameters

- `ped` (`Ped`)
- `speed` (`int`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

Sets the ped combat speed enum. Get/set pair with _GET_PED_COMBAT_SPEED.

enum CCombatData__Speed
{
	CS_Invalid = -1,
	CS_Default = 0,
	CS_Slow = 1,
	CS_Fast = 2,
	CS_Sprint = 3,
	CS_LastSpeed = 4,
};

*Source: VORPCORE RDR3natives*

_SET_PED_COMBAT_R - _SET_PED_C*

## Usage

### Lua

```lua
SetPedCombatSpeed(ped, speed)

-- always available, by hash
Citizen.InvokeNative(0x815C0074A1BC0D93, ped, speed)
```

### JavaScript

```js
SetPedCombatSpeed(ped, speed);

// by hash
Citizen.invokeNative('0x815C0074A1BC0D93', ped, speed);
```

### C#

```csharp
Function.Call((Hash)0x815C0074A1BC0D93, ped, speed);
```

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

## See also

- [PED::_GET_PED_COMBAT_SPEED](https://natives.borderlinerp.com/natives/PED/_GET_PED_COMBAT_SPEED.md) — Gets the ped combat speed enum.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
