CreateCheckboxItem

From GT-MP
Jump to: navigation, search
CreateCheckboxItem
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Client-side Function Description


Syntax

API.createCheckboxItem(string label, string description, bool isChecked);

Required Arguments

  • label: parameter input should be in string type.
  • description: parameter input should be in string type.
  • isChecked: parameter input should be in bool type.

NOTE: This function returns data in UIMenuCheckboxItem type.

Usage example(s)

API.createCheckboxItem(string label, string description, bool isChecked);

References