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
Managing jobs on your server?
Viper Multi-Job lets players hold several jobs and switch between them with grade, salary and duty handled — QBCore, QBox and ESX, validated server-side.
See Viper Multi-Job →