LemonUIbyLemon / LemonUI

LemonUI for .NET (FiveM, RageMP, RagePluginHook and ScriptHookVDotNet 3)
MIT License
177 stars 40 forks source link

Support for control icon scaleforms in LemonUI menus #98

Open nomakewan opened 1 year ago

nomakewan commented 1 year ago

In the BTTFV mod, we have a single menu that we'd like to use a control scaleform for. For context, the menu is a NativeListItem and in the item description, we have the following text:

Press ~INPUT_CELLPHONE_SELECT~ to remote control.

While using these in other contexts works, LemonUI does not appear to parse it correctly, instead displaying a textual representation of the scaleform value rather than the scaleform itself.

Would it be possible to add support for these native control input scaleforms so they can be displayed in LemonUI menu elements?

justalemon commented 1 year ago

Ill see what I can do. As far as I know, labels need to use a custom format for all of the input related prompts, but they work.