native

rg_get_user_armor

Syntax

native rg_get_user_armor(const index, &ArmorType:armortype = ARMOR_NONE);

Description

Returns the client's armor value and retrieves the type of armor.

Parameters

index Client index
armortype Variable to store armor type in

Return

Amount of armor, 0 if the client has no armor