GetSlotFromWeaponId

From NPC for VCMP 0.4 Servers
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.