[Help] With some clientmessege [How to do this?] REP+1 !!
#5

pawn Код:
new player_count; // OUTSIDE ALL CALLBACKS

public OnPlayerConnect(playerid)
{
    player_count++;
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    player_count--;
    return 1;
}

// To show the message:
new sPlay[64];
format(sPlay, sizeof(sPlay), "%i/%i players online.", player_count, GetMaxPlayers());
SendClientMessageToAll(COLOR_GREY, sPlay);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)