Save System
#1

how do i save user files in scriptfiles/Users instead of script files
Reply
#2

You should have something like this in your script:

Код:
if (!fexist("MyFile/Config/somefilehere")){
	new File:open = fopen("MyFile/Config/somefilehere",io_write);
just change the first one (MyFile) to Users.
so...
Код:
if (!fexist("Users/SomeAccount.sav")){
	new File:open = fopen("Users/SomeAccount.sav",io_write);
Untested.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)