Hooks/Shared/onFoodItemRemoved

From Official DarkRP Wiki
Jump to: navigation, search
Hook
Hook name onFoodItemRemoved(number num, table itemTable)
Description:
Called when a food item is removed.
Returns: nil
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Hooks/Shared/onFoodItemRemoved]onFoodItemRemoved hook[/url][/b]

Parameters

  1. num (number)
  2. The index of this item.

  3. itemTable (table)
  4. The table containing all the info about this item.

Return values

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