From DarkRP
Jump to navigation Jump to search
Hook name onDoorRamUsed(boolean success, Player ply, table trace)
Called when the door ram has been used.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onDoorRamUsed]onDoorRamUsed hook[/url][/b]


  1. success (boolean)
  2. Whether the door ram has been successful in ramming.

  3. ply (Player)
  4. The player that used the door ram.

  5. trace (table)
  6. The trace containing information about the hit position and ram entity.

Return values[edit]

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