Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Azerothwav/Az_context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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