Hooks/Server/onDoorRamUsed
Hook | |
Hook name | onDoorRamUsed(boolean success, Player ply, table trace) |
Description: | |
Called when the door ram has been used. | |
Returns: | nil |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/onDoorRamUsed]onDoorRamUsed hook[/url][/b] |
Parameters[edit]
- success (boolean)
- ply (Player)
- trace (table)
Whether the door ram has been successful in ramming.
The player that used the door ram.
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.