Hooks/Shared/playerWeaponsChecked
Jump to navigation
Jump to 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: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/playerWeaponsChecked]playerWeaponsChecked hook[/url][/b] |
Parameters[edit]
- checker (Player)
- target (Player)
- weapons (table)
The player holding the weapon checker.
The player whose weapons have been checked.
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.