Menu options
info
label:
stringThe text that showing when you intract with the NPC.
icon:
stringName of the icon that showing when you intract with the NPC, you can find the icons here.
invisible:
trueorfalseIf the player ped locally invisible when the menu is open. (optional, true by default)
job:
stringortableThe job name if you want it to open for specific job. (optional)
distance:
numberThe distance to start intract with the NPC. (optional, 3.0 by default)
blip:
tableThe npc blip. (optional)
name:
stringThe blip name. (optional, it will use the menu title by default)sprite:
numberThe blip icon you can find the blips icon number here. (optional, 480 by default)color:
numberThe blip color you can find the blips color number here. (optional, 28 by default)scale:
numberThe blip size. (optional, 0.7 by default)
color:
tableThe menu them color. (optional, '#ad8f1a' by default)
title:
stringThe menu title.
content:
stringThe menu content.
options
label:
stringThe option text.
icon:
stringName of the icon for the option , you can find the icons here.
image:
urlorpathThe option image. (optional)
params:
tableThe option event. (optional)
type:
stringThe event type'client'or'server'or'action'or'isCommand'or'isQBCommand'.event:
stringorfunctionThe event.args:
stringortableArguments of the event.
Last updated