Folder in ini
#1

hello I would like to know how do you create a folder and inside it put one or more file where the folder is named after you put on Samp and inside 3 INI files with the name of PG.
Thanks
Reply
#2

For example
Scriptfiles / Alex / Alex_Palermitano.ini - Alex.ini / Alex_Weed.ini
Reply
#3

PHP код:
#define YOURPATH "Users/%s.ini" 
And create in scriptfiles folder named Users to see .ini with player name files when playe regisrer.
Isn't that what u meant to ask for?
Reply
#4

yes but how do I create a folder directly when the player is automatically registered and inside put the ini file?

#debolt PATH Users/%s/%s. Ini?
Reply
#5

Why would you want to create a folder per user? Isn't that just wasting spaces? You may use FileManager for that but If I were you I wouldn't be doing that instead I'd create the .ini right away.
Reply
#6

Me does not recommend doing so?
Reply
#7

It is not recommended as it makes the reading process of the files slow (on my perspective)
Reply
#8

OK. Thanks. close this thread
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)