mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
Interval Readme
This commit is contained in:
11
README.md
11
README.md
@@ -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>
|
||||||
@@ -92,4 +101,4 @@ If not, see <https://www.gnu.org/licenses/gpl-3.0.html>
|
|||||||
</td></tr>
|
</td></tr>
|
||||||
<tr><td>
|
<tr><td>
|
||||||
<font align='center'>https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)</font>
|
<font align='center'>https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)</font>
|
||||||
</td></td></table>
|
</td></td></table>
|
||||||
|
|||||||
Reference in New Issue
Block a user