NPC:GetPlayerArmedWeapon

NPC:GetPlayerArmedWeapon

Description:
Function NPC:GetPlayerArmedWeapon same as GetPlayerWeapon, but to be used in NPC scripts


Parameters:
(playerid)
int playerid The ID of the player to get the currently held weapon of.


Return Values:
The ID of the player's current weapon. Returns -1 if the player specified does not exist.


Examples:
-