SelectWeapon

From NPC for VCMP 0.4 Servers
Revision as of 18:26, 8 May 2023 by Habi (talk | contribs)
Jump to navigation Jump to search


Description:
Sets the npc's current weapon and sends a sync packet if on foot.


Parameters:

(weaponid)

weaponid : The Id of the weapon


Return Values:
true on success, false if the weapon is not possessed by npc.



Related Functions

The following functions may be helpful as they relate to this function in one way or another.