Fix typos

This commit is contained in:
O1LER 2025-03-14 07:40:29 +01:00
parent 9ac40bffaf
commit 96c154225d

View File

@ -21,7 +21,7 @@ Resources/
└─ further.lua └─ further.lua
``` ```
The serverside lua is the bare minimum, if you want to add custom evnets, you also need at least a clientside lua as well as a modscript.lua The serverside lua is the bare minimum, if you want to add custom events, you also need at least a clientside lua as well as a modscript.lua
The Server folder must contain subfolders, one for each server-side mod. The Server folder must contain subfolders, one for each server-side mod.
It is good practice to only have a single main lua file and add further lua files into subfolders. It is good practice to only have a single main lua file and add further lua files into subfolders.
@ -36,7 +36,7 @@ The modScript.lua will be read by BeamNG and instructs the game which plugin to
## Serverside lua ## Serverside lua
Theres more examples in the examplePlugin, but heres a very basic example, printing a players identifiers: There's more examples in the examplePlugin, but heres a very basic one, printing a players identifiers:
```lua ```lua
function onInit() --runs when plugin is loaded function onInit() --runs when plugin is loaded