From DarkRP
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[edit]

  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[edit]

This function does not return any value.