Functions/DarkRP/Shared/createFood

From Official DarkRP Wiki
Jump to: navigation, 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

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

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


Function return values

This function does not return any value.