Hooks/Server/playerWeaponsReturned

From Official DarkRP Wiki
Jump to: navigation, search
Hook
Hook name playerWeaponsReturned(Player checker, Player target, table weapons)
Description:
Called when a player with a weapon checker has returned another player's weapons.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerWeaponsReturned]playerWeaponsReturned hook[/url][/b]

Parameters

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

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

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

Return values

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