From DarkRP
Jump to navigation Jump to search
Hook name canAdvert(Player player, table arguments)
Whether someone can place an advertisement billboard.
Returns: boolean canAdvert, string message
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canAdvert]canAdvert hook[/url][/b]


  1. player (Player)
  2. The player trying to advertise.

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

Return values[edit]

  1. canAdvert (boolean)
  2. A yes or no as to whether the player can place the billboard.

  3. message (string)
  4. The message that is shown when they can't place the billboard.