GetPlayerWeaponSlot
Returns the weapon in a player's slot.
native int GetPlayerWeaponSlot(int client, int slot)
Parameters
int slot
Slot index (mod specific).
Return Value
int Entity index on success, -1 if no weapon existed.Error
Invalid client or client not in game, or lack of mod support.