client
SetPedArmour
FiveM client native documentation with a Lua example.
Summary
Sets a ped's armor value (0-100 by default). Used by armor items, shops, and job loadouts.
Returns
void
Parameters
pednumberThe ped.amountnumberArmor value (0-100).Example
SetPedArmour(PlayerPedId(), 100)Common pitfalls
- Max is 100 by default unless modified elsewhere.
- Like health, setting armor client-side can be anti-cheat flagged — gate item use server-side.
Related natives
Related guides
FiveM scripts done right
Optimized, dual-framework scripts for QBCore and ESX from Viper Development — escrow protected, delivered instantly to your Cfx portal.
Browse Scripts →