Hooks/Server/canTaxEntity
Jump to navigation
Jump to search
Hook | |
Hook name | canTaxEntity(Player ply, Entity ent) |
Description: | |
Called right before a player's property is taxed. Decides per entity whether it can be taxed. | |
Returns: | boolean shouldTax |
Realm: |
![]() |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canTaxEntity]canTaxEntity hook[/url][/b] |
Parameters[edit]
- ply (Player)
- ent (Entity)
The player whose property will be taxed.
The door or vehicle that is to be taxed
Return values[edit]
- shouldTax (boolean)
Return false here to prevent this specific entity from being taxed.