DarkRP.HideSellDoorMessage

From Official DarkRP Wiki
Jump to: navigation, search
This page refers to DarkRP 2.4.3. This information may be incorrect as of later versions.
Check here for a up-to-date list of hooks.

Syntax

DescriptionHide the popup message when someone sells a door.
Syntax
GAMEMODE:HideSellDoorMessage(Player ply, Entity ent)
ReturnsHideSellDoorMessage (boolean): whether the sell door message should not be hidden. false = no messages.

Arguments

  • ply (Player)
  • The player who is attempting to sell the door.

  • ent (Entity)
  • The door that is being sold

    Examples

    DescriptionNo door messages at all
    Code
    hook.Add( "HideSellDoorMessage", "NoMessages", function(ply, ent)
    	return false
    end)
    OutputNo door messages at all