getWeaponStats

Retrieve a player's weapon's stats

Arguments

Label
Explained
Type
Example

weapon

The weapon to get it's stats

string/hash

WEAPON_PISTOL

Returns a table that contains:

  • kills - the amount of kills the player has using that weapon

  • headshots - the amount of headshots the player has using that weapon

  • deaths - the amount of times the player was killed using this weapon

Last updated