Hooks/Client/HUDDrawDoorData

From DarkRP
Jump to navigation Jump to search
Hook
Hook name HUDDrawDoorData(Entity ent)
Description:
Called when DarkRP is about to draw the door ownability information of a door or vehicle. Override this hook to
Returns: boolean override
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Client/HUDDrawDoorData]HUDDrawDoorData hook[/url][/b]

Parameters[edit]

  1. ent (Entity)
  2. The door or vehicle of which the ownability information is about to be drawn.

Return values[edit]

  1. override (boolean)
  2. Return true in your hook to disable the default drawing and use your own.