Hooks/Server/playerStarved

From Official DarkRP Wiki
Jump to: navigation, search
Hook
Hook name playerStarved(Player ply)
Description:
Called when a player dies of starvation.
Returns: nil
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Server/playerStarved]playerStarved hook[/url][/b]

Parameters

  1. ply (Player)
  2. The player who died of starvation.

Return values

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