SelectWeapon

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

This function is to be added in v1.6 beta 4 patch 2 and will not work on previous versions.


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.