22.02.2015, 19:19
Online player count+Record system
A simple system that has a record of players ever connected+it can detect how many players are online.
The record is saved in record.txt file.
Online players are seen with
A little command that tells you how many players are online.
Download:
Pastenbin.com
A simple system that has a record of players ever connected+it can detect how many players are online.
The record is saved in record.txt file.
Online players are seen with
Code:
PlayerCount
Code:
if (strcmp("/online", cmdtext, true, 10) == 0)
{
format(str,sizeof(str),"Online players: [%d]",PlayerCount);
SendClientMessage(playerid,-1,str);
return 1;
}
Pastenbin.com



(I think its in a header)