More PG whit y_ini - 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)
+--- Thread: More PG whit y_ini (
/showthread.php?tid=616201)
More PG whit y_ini -
AlexPalermitano97 - 02.09.2016
Hi, you can create a log recording system with y_ini placing multiple PG in a single account? I think you use folders, is not it? For example AlexPalermitano (folder name) and inside there are three .ini files and to launch the user chooses which PG insert. You can do using this system?
Re: More PG whit y_ini -
AlexPalermitano97 - 02.09.2016
UUPP
Re: More PG whit y_ini -
Shinja - 02.09.2016
What you mean with PG?
Re: More PG whit y_ini -
AlexPalermitano97 - 02.09.2016
Player, for example, by registering I create a folder called Alex Palermitano and inside I find three Alex_Palermitano files - Aaron Smith and another name .. This 3 are the PG
Re: More PG whit y_ini -
Stinged - 02.09.2016
The best way (speed and difficulty) to do this is by using either MySQL or SQLite.
You can create 2 tables, one of them contains the "main" name and its "PG?" name, and the other one contains data for the "PG" name you select.
Table 1:Username | Name |
Alex_Palermitano | Aaron_Smith |
Alex_Palermitano | Jake_Jeffords |
Alex_Palermitano | Walter_Black |
Table 2:Or you can have them all in one table.
Which one is better depends on how you want to do stuff.
For example, if 3 names are necessary, then one table is better. If they're not, it's better to have another table than to have some fields that will not be used.
Re: More PG whit y_ini -
AlexPalermitano97 - 02.09.2016
In my ini you can not do?
Re: More PG whit y_ini -
AlexPalermitano97 - 02.09.2016
Uppp