SA-MP Forums Archive
Question (linux server) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question (linux server) (/showthread.php?tid=70656)



Question (linux server) - Dreftas - 26.03.2009

How to create a file in scriptfiles/users/%s.ini ? i know dini and how to use it, i just want to know how to script that gamemode create file in that users folder ? In windows i do: \\users\\%s, but when server is on linux, this dont work :/ Help :}


Re: Question (linux server) - boylett - 26.03.2009

Linux needs forward slashs (/) for files.


Re: Question (linux server) - Dreftas - 26.03.2009

Quote:
Originally Posted by Boylett (ServerZ.co.uk)
Linux needs forward slashs (/) for files.
So i need to use
users/%s.ini
or
/users/%s.ini
or
//users//%s.ini
or
users//%s.ini

??


Re: Question (linux server) - Andom - 26.03.2009

/users/%s.ini