From DarkRP
Jump to navigation Jump to search
Hook name playerWeaponsChecked(Player checker, Player target, table weapons)
Called when a player with a weapon checker has checked another player's weapons. Note: Only called when the player looks at the weapons without confiscating. Please see playerWeaponsConfiscated for when weapons are actually confiscated.
Returns: nil
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/playerWeaponsChecked]playerWeaponsChecked hook[/url][/b]


  1. checker (Player)
  2. The player holding the weapon checker.

  3. target (Player)
  4. The player whose weapons have been checked.

  5. weapons (table)
  6. The weapons that have been checked.

Return values[edit]

This hook does not accept return values. You can still return a value to override the default implementation of this hook.