Hooks/Server/canEarnNPCKillPay
Hook | |
Hook name | canEarnNPCKillPay(Player ply, Entity npc) |
Description: | |
If a player should profit from killing a NPC | |
Returns: | boolean answer |
Realm: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/canEarnNPCKillPay]canEarnNPCKillPay hook[/url][/b] |
Parameters[edit]
Return values[edit]
- answer (boolean)
Whether the player can earn money.