Kinetix AI Emote Creator for FiveM - Documentation
GitHubDiscord
  • ๐Ÿ–๏ธIntroduction
  • ๐Ÿ‘€Overview
  • ๐Ÿš€Get started
  • ๐Ÿ‘จโ€๐Ÿ’ปDeveloper Portal
    • Game/App Space - Creation
    • Game/App Space - Settings
  • โš™๏ธCore
    • User Creation
    • Emote generation
    • Webhook
    • User bag
    • Sharing emote
    • Validation / Retake process
    • Paywalls
    • File download
    • Playing animations
  • ๐Ÿ–ฅ๏ธInterface
    • Events
      • Server
      • Client
    • Render functions
      • CreateRootMenu()
      • CreateQRCodeAlert(url)
      • CreateMainMenu()
      • CreateEmoteBagMenu(emotes)
      • OpenEmoteBagMenu()
      • CreateProcessValidationMenu(process)
      • CreateEmoteCreatorMenu(processes)
      • CreateErrorMenu(statusCode, error)
      • NotifyProcessUpdate(process)
      • NotifyEmoteReady(data)
      • CreateEmoteWheel(emotes)
  • ๐Ÿ”ŒIntegrations
  • ๐ŸงชLive Demo
  • ๐Ÿ“šVideo recording Guidelines & AI Specs
    • AI Emote Creator - specifications
    • Video recording guidelines
Powered by GitBook
On this page
  1. Interface
  2. Render functions

CreateErrorMenu(statusCode, error)

This menu will display error coming from the server

If you provide the statusCode parameter, like :

CreateErrorMenu(403)

It will try to find the appropriate error message from this table :

{
    [403] = {
       title = "Plan limit reached",
       description = "You cannot create any new emote."
    },
    [429] = {
       title = "Rate limiting reached",
       description = "You cannot do new request for the moment."
    }
}

If you provide an error parameter, like :

CreateErrorMenu(nil, { title = "Paywall limit", description = "Unsuficient funds" })

It will simply display your custom error :

PreviousCreateEmoteCreatorMenu(processes)NextNotifyProcessUpdate(process)

Last updated 10 months ago

๐Ÿ–ฅ๏ธ