[RELEASE] [FREE] Az_context - The first context menu in sprite

Group 2 (12)

Love name name LUA Ko-Fi

Installation

curl https://github.com/Azerothwav/Az_context

Informations

An optimized and totally open source context menu for your FiveM server.

The az_context is the first open source context menu realized without HTML. Using the drawText, drawSprite and drawRectangle that GTA allows us to generate.
The contextual menu allows you to generate up to 4 fillable fields. See the documentation to learn how to use it.

The resource is completely standalone.

Exemple

Code view

-- Show context menu and stock data in the variable
local contextData = exports["az_context"]:ShowContextMenu({
    title = 'Job setting', 
    field = 1, 
    field1 = 'Job name :',
    field2 = 'Job name :'
})

-- Print the data
print(contextData[1].text, contextData[2].text)

In game view

image

2 Likes

For the record, you can fix having lag issues with NUIs in the settings of FiveM :eyes:

1 Like

a video preview with the different features and better doccumentation would be a plus! also reccomend setting nui focus instead of the loop you use to disable movement

:grin: Nice use of the mini lib :smiley:

1 Like