- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.lua
More file actions
Latest commit
14 lines (10 loc) · 382 Bytes
/
Copy pathexample.lua
File metadata and controls
14 lines (10 loc) · 382 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
localtimer=require('timer')
localsourcequery=require("sourcequery2")
sourcequery.CreateServer(3177)
sourcequery.Servercallback:on('message', function(data, Host, Port)
print('message',data , Host, Port)
end)
sourcequery.SendServerQuery("188.120.231.157", 27015)
timer.setInterval(5000, function()
sourcequery.SendServerQuery("188.120.231.157", 27015)
end)