Functions/DarkRP/Shared/createFood

From Official DarkRP Wiki
Revision as of 14:22, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

  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.