Add info about ServerJoin into LUASTUFF.md (so i don't forget to do it later)

This commit is contained in:
indev authored and Alug committed 2024-07-10 19:09:11 +02:00
1 parent 630d910a9e
commit 6bf113d0ff
1 file changed
+5
+5
View File
@@ -130,3 +130,8 @@ if rawget(_G, "S_StopSoundByNum") ~= nil then
... -- Can use it
end
```
## addHook("ServerJoin", function())
ServerJoin hook called when client joins server (starting a listen server also calls it for host).
Generally it was made to make loading custom config files less hacky, but can be used for anything else too.