From cdf203ccdfee6353b10fb74cb317c300bcfbe56a Mon Sep 17 00:00:00 2001 From: o1ler Date: Tue, 18 Mar 2025 22:15:24 +0100 Subject: [PATCH] Add beamng debug link --- Docs | 1 + docs/en/guides/mod-creation/server/getting-started.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 160000 Docs diff --git a/Docs b/Docs new file mode 160000 index 00000000..8880e959 --- /dev/null +++ b/Docs @@ -0,0 +1 @@ +Subproject commit 8880e95926493113e6b43d3b8dab66fea04270b2 diff --git a/docs/en/guides/mod-creation/server/getting-started.md b/docs/en/guides/mod-creation/server/getting-started.md index 3a5ef413..619e3ce1 100644 --- a/docs/en/guides/mod-creation/server/getting-started.md +++ b/docs/en/guides/mod-creation/server/getting-started.md @@ -77,13 +77,15 @@ This largely follows the [BeamNG extensions](https://documentation.beamng.com/mo local M = {} if extensions.isExtensionLoaded("examplePlugin") then - log("E", "examplePlugin", "examplePlugin loaded on clientt side") + log("E", "examplePlugin", "examplePlugin loaded on client side") return end return M ``` -**WIP** +Prints to the console that the examplePlugin was loaded + +Refer to the [beamNG documentation on debug prints](https://documentation.beamng.com/modding/programming/debugging/#a-add-a-log) to learn more ## modScript.lua