So i don't know what is that!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
addhook("join","_join")
file_location="sys/lua/usgn.cfg"
function file_exists(name)
local f=io.open(name,"r")
if f~=nil then
io.close(f)
return true
else
return false
end
end
function _join(id)
if file_exists(file_location)==false then
print(string.char(169).."255000000sys/lua/usgn.cfg does not exist. Please create it.")
return 0
end
local num=1
for line in io.lines("sys/lua/usgn.cfg") do
if tonumber(line)~=nil then
if player(id,"usgn")==tonumber(line) then
msg(string.char(169).."000255000You was found in databse! Welcome on the server!.")
return 0
end
else
print(string.char(169).."255000000sys/lua/usgn.cfg:"..num.." had a malformed usid, please correct it.")
end
num=num+1
end
timer(200,"parse","kick "..id.." \""..string.char(169).."255000000Sorry but you are not in database!\n")
end
Auth
1 
Offline
Marcell

