27.02.2014, 04:24
I want to count all the registered users and display them in a dialog.
Can you tell me how to count all user files or registered users?
Can you tell me how to count all user files or registered users?
OnPlayerRegister() //Off course, when a player is registered. Doesn't actually exist (standard)
{
new str[45];
RegisteredPlayers++;
djSetInt("ServerFile.ini", RegisteredPlayers, RegisteredPlayers); //or dini_IntSet etc.
format(str, 45, "There are now %d registered users!", RegisteredPlayers);
SendClientMessageToAll(0xFFFFFFAA, str);
}