13.03.2014, 16:03
First read this: https://sampforum.blast.hk/showthread.php?tid=175565
Then you will know what happens here:
I will just use "SyntaxQ" example...
You will have to place this on the function that you use to register your players. If you still do not understand then i recommend you reading some documentation.
Then you will know what happens here:
I will just use "SyntaxQ" example...
pawn Код:
new year,
month,
day,
str[128],
INI:file = INI_Open("Player.ini"); // here you define the file you are going to open
getdate(year, month, day);
format(str, sizeof(str), "%d/%d/%d", day, month, year);
INI_WriteString(file, "DateRegistered", str); // here you write the variable DateRegistered of the file