SET_PED_ARMOUR
``` Sets the armor of the specified ped. ped: The Ped to set the armor of. amount: A value between 0 and 100 indicating the value to set the Ped's armor to. ``` **This is the server-side RPC native equivalent of the client native [SET_PED_ARMOUR](?\_0xCEA04D83135264CC).**
CFX
Signature
lua
SetPedArmour(PlayerPedId(), 0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| int | — |
Usage
lua
SetPedArmour(PlayerPedId(), 0)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
