Skip to content

feat(ui): redesign esx_multicharacter interface#1633

Closed
9zku wants to merge 8 commits intoesx-framework:devfrom
9zku:newUI
Closed

feat(ui): redesign esx_multicharacter interface#1633
9zku wants to merge 8 commits intoesx-framework:devfrom
9zku:newUI

Conversation

@9zku
Copy link
Copy Markdown

@9zku 9zku commented May 4, 2025

Description

This brings out a new, fresh UI, for esx_multicharacter


Motivation

This task was assigned to me as part of the effort to implement the provided design into functional code.


Implementation Details

The UI has been rebuilt to align with updated design standards, improving both usability and appearance. Compatibility with esx_multicharacter has been maintained throughout, as I've only edited the fontend/ui (Backend typo was here)

Usage Example


SendNUIMessage({ type = 'setVisible', visible = uiOpen }) -- Opens up the character UI

-- NUI callback to get the character info
RegisterNUICallback('getCharacters', function(data, cb)
-- TODO: Fetch character list from the server and return
cb({
characters = {} -- Populate this with real data
})
end)

-- Select a character
RegisterNUICallback('selectCharacter', function(data, cb)
-- TODO: Handle character selection logic
cb({})
end)

-- Play selected character
RegisterNUICallback('playCharacter', function(data, cb)
-- TODO: Handle character loading logic
cb({})
end)

-- Delete a character
RegisterNUICallback('deleteCharacter', function(data, cb)
-- TODO: Handle character deletion logic
cb({})
end)

-- Create a new character
RegisterNUICallback('createCharacter', function(data, cb)
-- TODO: Handle character creation logic
cb({})
end)

PR Checklist

  • My commit messages and PR title follow the Conventional Commits standard.
  • My changes have been tested locally and function as expected.
  • My PR does not introduce any breaking changes.
  • I have provided a clear explanation of what my PR does, including the reasoning behind the changes and any relevant context.

@github-project-automation github-project-automation bot moved this to 🆕 To be Discussed in ESX Roadmap May 4, 2025
@Mycroft-Studios
Copy link
Copy Markdown
Contributor

Old PR

@github-project-automation github-project-automation bot moved this from 🆕 To be Discussed to Recycle Bin in ESX Roadmap Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Recycle Bin

Development

Successfully merging this pull request may close these issues.

3 participants