Hooks/Server/playerGotLicense

From DarkRP
Jump to navigation Jump to search
Hook
Hook name playerGotLicense(Player target, Player actor)
Description:
Called when a player got a gun license.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerGotLicense]playerGotLicense hook[/url][/b]

Parameters[edit]

  1. target (Player)
  2. The player who got the license.

  3. actor (Player)
  4. The player who gave the license.

Return values[edit]

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