mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
maybe less confusing callback info
This commit is contained in:
1 parent
afdd908331
commit
75698216e0
2 files changed
+8
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
## Server -> Client callback
|
||||
## Trigger Client Callback
|
||||
|
||||
### lib.callback
|
||||
|
||||
@@ -41,10 +41,12 @@ for i = 1, #vehicles do
|
||||
end
|
||||
```
|
||||
|
||||
## Client -> Server callback
|
||||
## Register Server Callback
|
||||
|
||||
### lib.callback.register
|
||||
|
||||
Register an event handler for responding to client requests.
|
||||
|
||||
```lua
|
||||
lib.callback.register(name, cb)
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user