mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
Merge pull request #6 from tony-stark-17/master
Intervals Readme update
This commit is contained in:
@@ -72,6 +72,15 @@ CreateThread(function()
|
|||||||
print(a, b) -- 'hello there', 'general kenobi'
|
print(a, b) -- 'hello there', 'general kenobi'
|
||||||
end)
|
end)
|
||||||
```
|
```
|
||||||
|
### Intervals
|
||||||
|
|
||||||
|
```lua
|
||||||
|
local ontick = SetInterval(function(...)
|
||||||
|
print(...)
|
||||||
|
end, 0, 'arg1', 'arg2')
|
||||||
|
|
||||||
|
ClearInterval(ontick)
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
<br><h2>License</h2>
|
<br><h2>License</h2>
|
||||||
|
|||||||
Reference in New Issue
Block a user