GetSlotFromWeaponId

From NPC for VCMP 0.4 Servers
Revision as of 18:53, 26 November 2022 by Habi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Description:
This will return the id of the slot in the specified weapon usually stored


Parameters:

( weaponid )

weaponid: The ID of the weapon whose slotid is to be determined


Return Values:
Returns the value of the slot as integer. If invalid slot ( other than 0-9) is specified, it returns 0 ( slot of fists )



Related Functions

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