14.04.2012, 09:51
Well i'm creating a Registered.ini in /Logs
but when i make a second account it still 1. instead 2.
i try this
+ How can i check the Registered.ini for my Player Counting?
but when i make a second account it still 1. instead 2.
i try this
pawn Код:
new file[256], PCount = 0;
PCount++;
format(file, sizeof(file), "Server/Logs/Registered.ini");
new File:User = fopen(file, io_append);
format(string, sizeof(string), "%d. %s\r\n", PCount, GetName(playerid));
fwrite(User, string);
fclose(User);
printf("New Registered User %s, User Number %d", GetName(playerid), PCount);