# setPedMeleeStrength (Client)

> Sets how hard a ped hits in melee.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Peds
- **URL**: https://wiki.mymp.gg/en/setPedMeleeStrength

## Syntax

```lua
bool setPedMeleeStrength(ped ped, float strength)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `ped` | `ped` | The ped or player. |
| `strength` | `float` | Multiplier of the hits' damage and of the push that knocks the target down. The default is `1`. |

## Returns

`true` if it was set, `false` if the ped does not exist in the game.

In the original SA this value came from a player stat; here every ped has its own.

## Example

```lua
setPedMeleeStrength(localPlayer, 2)
```

## See also

- [getPedMeleeStrength (Client)](https://wiki.mymp.gg/en/getPedMeleeStrength.md): Gets how hard a ped hits in melee.
- [setPedJumpPower (Client)](https://wiki.mymp.gg/en/setPedJumpPower.md): Sets how strongly a ped jumps.
