Hooks/Server/playerWeaponsConfiscated

From DarkRP
Hook
Hook name playerWeaponsConfiscated(Player checker, Player target, table weapons)
Description:
Called when a player with a weapon checker has confiscated another player's weapons.
Returns: nil
Realm:
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerWeaponsConfiscated]playerWeaponsConfiscated hook[/url][/b]

Parameters[edit]

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

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

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

Return values[edit]

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