Hooks/Server/playerAdverted

From Official DarkRP Wiki
Jump to navigation Jump to search
Hook
Hook name playerAdverted(Player player, string arguments, Entity entity)
Description:
Called when a player placed an advertisement billboard.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerAdverted]playerAdverted hook[/url][/b]

Parameters

  1. player (Player)
  2. The player.

  3. arguments (string)
  4. The advertisement itself.

  5. entity (Entity)
  6. The placed advertisement billboard.

Return values

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