Category:GUI Functions

From Wiki G1R-MP G1 Remake Multiplayer
Jump to navigation Jump to search

Client-side functions for building and controlling RmlUi documents and chat interfaces.

Native HUD and menus (since 0.1.7)

Five new client-side functions: showNativeHud, setNativeHudComponentVisible, setNativeMenuEnabled, getNativeUiState and resetNativeUi. Result event: onClientNativeUiResult.

See Native HUD and menus for component/menu keys, asynchronous results, multi-resource ownership, ordinary Lua key bindings and examples. Requires the latest 0.1.7 client (BUILD202 or newer); existing Protocol 39 servers remain compatible. Native save/load protection is independent of these resource-owned restrictions.