SelectWeapon
Revision as of 18:26, 8 May 2023 by Habi (talk | contribs) (Created page with "{{Welcome|desc=Sets the npc's current weapon and sends a sync packet if on foot.| params=(weaponid) <poem> ::weaponid : The Id of the weapon </poem>| retvals=true on success, false if the weapon is not possessed by npc.| relfuncs= *GetAvailableWeapons *GetAmmoOfMyWeapon |}}")
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.