GetPlayerArmedWeapon

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search


Description:
Gets the ID of the weapon the player is currently holding.


Parameters:

playerid

playerid : The ID of the player whose current weapon ID you want to get.


Return Values:
The ID of the weapon, the player is currently holding. Returns -1 if the specified player does not exist.