NPC:GetPlayerArmedWeapon

From SA-MP Wiki

Jump to: navigation, search


Description:

Same as GetPlayerWeapon, but to be used in NPC scripts


Parameters:
(playerid)
playeridThe 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.
Personal tools
Navigation
Toolbox