Page cover

Exports & How to use

Client Exports / Triggers

Export

exports['brutal_3dtextui']:Create3DTextUI(id, coords, type, style, maincolor, textcolor, backgroundcolorm, keys, url)

Create export

exports['brutal_3dtextui']:ChangeCoords(id, coords)

ChangeCoords export

exports['brutal_3dtextui']:Delete3DTextUI(id)

Delete export

exports['brutal_3dtextui']:Toggle3DTextUI()

Toggle export

  • Id - It will be used for text identification. e.g. "menu1"

  • Coords - The coords parameter must be a vector4 value.

  • Type - Display Type: "follow" or "static" - "follow" → The UI follows the target entity (e.g. player). - "static" → The UI stays at the given coordinates and does not move.

  • Style - Preconfigured panel themes (1-6).

  • MainColor - The menu's main colors are set by this. (you can set any color you want)

  • TextColor - The color of the text in the menu.

  • BackroundColor - If you want a background color for the menu items, set it here. - If not, use "none" to disable the background.

  • Keys - Here you can set which button displays which element of the given panel. - This is what the structure of the keys table looks like:

	{
		{
			key = 'E', 
			keyNum = 38, -- Controls list: https://docs.fivem.net/docs/game-references/controls/
			text = 'Open Menu', 
			executeCommand = '', -- You can put your command here
			triggerName = '' -- You can put your trigger event here
      args = {}, -- (Optional) Table of arguments passed to the event
      canUseInVeh = false -- (Optional) Allow usage while inside a vehicle (default: false)
		},
    -- You can add more actions here...
	}
  • URL (optional) - Image URL to display instead of the dynamic dot.

How to use?!

Last updated