it works when i host it with new game and dont works when with dedicated.
idk what to do next.
sometime saves sometime not

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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
function SaveUserStat(id) if (UsgnIds[id] > 0) then file = io.open("sys/lua/SAZ/Data/"..UsgnIds[id]..'.txt', "w+") or io.tmpfile() local text = Vl[id].lvl" file:write(text) file:close() file = io.open("sys/lua/SAZ/Clothes/"..UsgnIds[id]..'.txt', "w+") or io.tmpfile() local text = "" for k, i in ipairs(Clothes) do text = text .." "..i.Lic[id] end file:write(text) file:close() file = io.open("sys/lua/SAZ/Addons/"..UsgnIds[id]..'.txt', "w+") or io.tmpfile() local text = "" for k, i in ipairs(Addons) do text = text .." "..i.Lic[id] end file:write(text) file:close() file = io.open("sys/lua/SAZ/Hats/"..UsgnIds[id]..'.txt', "w+") or io.tmpfile() local text = "" for k, i in ipairs(Hat) do text = text .." "..i.Lic[id] end file:write(text) file:close() file = io.open("sys/lua/SAZ/Pets/"..UsgnIds[id]..'.txt', "w+") or io.tmpfile() local text = "" for k, i in ipairs(Pets) do text = text .." "..i.Lic[id] end file:write(text) file:close() else msg2(id,"©255000000Please log in to ur U.S.G.N account@C") end end