GetWeaponType

From GT-MP
Jump to: navigation, search
GetWeaponType
Server-Side Function
Utilities-terminal.png Server-Side Csharp.png C#

Get the Weapon Type from the specified WeaponHash.


Syntax

WeaponType API.getWeaponType(WeaponHash weaponHash);

Required Arguments

  • weaponHash: parameter input should be in WeaponHash type.


NOTE: This function returns data in WeaponType type.

Usage example(s)

Example Description

API.getWeaponType(WeaponHash weaponHash);

Changelog

Version Description
1.638.634 Release.

References