Add info about ServerJoin into LUASTUFF.md (so i don't forget to do it later)
This commit is contained in:
1 parent
630d910a9e
commit
6bf113d0ff
1 file changed
+5
@@ -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.
|
||||
Reference in new issue
Block a user