From 936f826599bb5c392ea9b71c705f98da66ef25b4 Mon Sep 17 00:00:00 2001 From: BoubouleTheCutestHamster <89800454+boubouleuh@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:56:56 +0100 Subject: [PATCH] Update docs/en/beamng/dev/modding/ui-apps.md Co-authored-by: O1LER <44237025+O1LER@users.noreply.github.com> --- docs/en/beamng/dev/modding/ui-apps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/beamng/dev/modding/ui-apps.md b/docs/en/beamng/dev/modding/ui-apps.md index 484ae397..4a77d3ae 100644 --- a/docs/en/beamng/dev/modding/ui-apps.md +++ b/docs/en/beamng/dev/modding/ui-apps.md @@ -260,7 +260,7 @@ Useful to run a lua function with or without arguments ```lua guihooks.trigger("EventName", Payload) ``` -The payload can be any types but its better to keep it as an Array / Object or a String to not be lost. +The payload can be any type but its better to keep it as an Array / Object or a String to not be lost. IMPORTANT : Sometime it can happen that the event name you use is already used internally by something else and cause problems, so for example if your app is named Nickel, it can be a good practice to name every of your Angular event like NKEventName instead of EventName