rg_get_user_armor

Syntax

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

Usage

index
Client index
armortype
Variable to store armor type in

Description

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

Return

Amount of armor, 0 if the client has no armor