Hooks/Shared/playerWeaponsChecked

From Official DarkRP Wiki
Jump to: navigation, search
Hook
Hook name playerWeaponsChecked(Player checker, Player target, table weapons)
Description:
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]

Parameters

  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

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