|Hook name||canDoorRam(Player ply, table trace, Entity ent)|
|Called when a player attempts to ram something. Use this to override ram behaviour or to disallow ramming.|
|BBCode Link:||[b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/canDoorRam]canDoorRam hook[/url][/b]|
- ply (Player)
- trace (table)
- ent (Entity)
The player using the door ram.
The trace containing information about the hit position and ram entity.
Short for the entity that is about to be hit by the door ram.
- override (boolean)
Return true to override behaviour, false to disallow ramming and nil (or no value) to defer the decision.