1
2
3
4
5
6
7
8
9
10
11
function min2()
for id=1,32 do
if player(id,"exists") then
io.output(io.open("sys/lua/usergems/"..player(id,"usgn")..".txt","w+"))
io.write( yourgem[id])
io.close()
msg2 (id,""..copyright.."000255000Saved!@C")
end
end
hud(id)
end
I'd like to be able to both save and load "yourgem" on all my servers and I want the savefiles to be the same as the other servers. that's why i want to save the files on, my desktop for example... and make all servers access those savefiles. Does anyone know how I can change the code that I provided, to be able to save and load outside the sys directory of cs2d? Thanks