Functions/DarkRP/Shared/createFood

From DarkRP
Jump to navigation Jump to search
Function
Function name DarkRP.createFood(string name, table tbl)
Description:
Create food for DarkRP.
Returns: nil
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/createFood]DarkRP.createFood[/url][/b]

Function parameters[edit]

  1. name (string)
  2. The name of the food.

  3. tbl (table)
  4. Table containing the information for the food.


Function return values[edit]

This function does not return any value.