count
#4

Use any file function system (original File Functions, dINI etc)

I recommend dINI

Example code:

pawn Код:
//bottom of onplayerconnect:
if(!dini_Exists("playercount.ini"))
{
  dini_Create("playercount.ini");
  dini_IntSet("playercount.ini", "pCount", 0);
  dini_IntSet("playercount.ini", "aCount", 0);
}
dini_IntSet("playercount.ini", "pCount", dini_Int("playercount.ini", pCount)+pCount);
dini_IntSet("playercount.ini", "aCount", dini_Int("playercount.ini", aCount)+aCount);
Reply


Messages In This Thread
count - by radi - 29.11.2009, 20:06
Re: count - by LarzI - 29.11.2009, 20:13
Re: count - by radi - 29.11.2009, 20:15
Re: count - by LarzI - 29.11.2009, 20:17
Re: count - by radi - 29.11.2009, 20:20
Re: count - by LarzI - 29.11.2009, 20:20
Re: count - by radi - 29.11.2009, 20:31
Re: count - by LarzI - 29.11.2009, 20:39

Forum Jump:


Users browsing this thread: 1 Guest(s)