Hooks/Server/playerWeaponsConfiscated
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]
- checker (Player)
- target (Player)
- weapons (table)
The player holding the weapon checker.
The player whose weapons have been confiscated.
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.