Registered players YSI
#1

Hi,
I am trying to make this...
When someone register on server, it will set regplayers++; but i dont know how to open INI file to load number on variable regplayers. If you know what i mean xD
Код:
				new INI:R = INI_Open("regplayers");
				regplayers++;
				INI_SetTag(R,"Reg");
				INI_WriteInt(R, "regpl", regplayers);
				INI_Close®;
Now i don't know how to load that file on OnGameModeInit...if server doesn't load it, it will start counting from 0.
BTW Check is this right what i wrote in code.
Reply


Messages In This Thread
Registered players YSI - by CroM256 - 12.03.2014, 17:04
Re: Registered players YSI - by ColeMiner - 12.03.2014, 17:25
Re: Registered players YSI - by CroM256 - 12.03.2014, 17:42
Re: Registered players YSI - by CroM256 - 12.03.2014, 19:01

Forum Jump:


Users browsing this thread: 2 Guest(s)