# getPedArmour (Server)

> Gets the armour of a ped or player.

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

## Syntax

```lua
float|false getPedArmour(ped ped)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `ped` | `ped` | The ped or player. |

## Returns

The armour, or `false` if the element is not a ped or a player.

## Example

```lua
addCommandHandler("armour", function(player)
    outputDebugString(getPlayerName(player) .. " armour: " .. getPedArmour(player))
end)
```

## See also

- [setPedArmour (Server)](https://wiki.mymp.gg/en/setPedArmour.md): Sets the armour of a ped or player and sends it to the clients.
- [getElementHealth (Shared)](https://wiki.mymp.gg/en/getElementHealth.md): Reads the health of a player, ped, vehicle or object.
- [isPedDead (Server)](https://wiki.mymp.gg/en/isPedDead.md): Tells whether a ped or player is dead.
