Category:GUI Functions: Difference between revisions

From Wiki G1R-MP G1 Remake Multiplayer
Jump to navigation Jump to search
Synchronize Lua API categories
Document native HUD/menu Lua APIs available since 0.1.7; client BUILD202 and save/load protection
 
Line 3: Line 3:


[[Category:Client Functions]]
[[Category:Client Functions]]
<!-- native-ui017:start -->
== 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.
<!-- native-ui017:end -->

Latest revision as of 02:08, 11 October 2026

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.