Numbers stay in 1.
#1

Well i'm creating a Registered.ini in /Logs
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);
+ How can i check the Registered.ini for my Player Counting?
Reply


Messages In This Thread
Numbers stay in 1. - by RollTi - 14.04.2012, 09:51
Re: Numbers stay in 1. - by RollTi - 14.04.2012, 11:24
Re: Numbers stay in 1. - by IstuntmanI - 14.04.2012, 11:25
Re: Numbers stay in 1. - by [MG]Dimi - 14.04.2012, 11:43

Forum Jump:


Users browsing this thread: 3 Guest(s)