From Official DarkRP Wiki
Revision as of 14:21, 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 name DarkRP.addToCategory(table item, string kind, string cat)
Create a category for the F4 menu.
Returns: nil
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=]DarkRP.addToCategory[/url][/b]

Function parameters

  1. item (table)
  2. Table of the custom entity/job/etc.

  3. kind (string)
  4. The kind of the category (e.g. 'jobs' for job stuff).

  5. cat (string) (optional)
  6. The name of the category. Note that the category must exist. Defaults to 'Other'.

Function return values

This function does not return any value.