Menu options
info
label:
string
The text that showing when you intract with the NPC.
icon:
string
Name of the icon that showing when you intract with the NPC, you can find the icons here.
invisible:
true
orfalse
If the player ped locally invisible when the menu is open. (optional, true by default)
job:
string
ortable
The job name if you want it to open for specific job. (optional)
distance:
number
The distance to start intract with the NPC. (optional, 3.0 by default)
blip:
table
The npc blip. (optional)
name:
string
The blip name. (optional, it will use the menu title by default)sprite:
number
The blip icon you can find the blips icon number here. (optional, 480 by default)color:
number
The blip color you can find the blips color number here. (optional, 28 by default)scale:
number
The blip size. (optional, 0.7 by default)
color:
table
The menu them color. (optional, '#ad8f1a' by default)
title:
string
The menu title.
content:
string
The menu content.
options
label:
string
The option text.
icon:
string
Name of the icon for the option , you can find the icons here.
image:
url
orpath
The option image. (optional)
params:
table
The option event. (optional)
type:
string
The event type'client'
or'server'
or'action'
or'isCommand'
or'isQBCommand'.
event:
string
orfunction
The event.args:
string
ortable
Arguments of the event.
Last updated