Quote:
Originally Posted by Sergiinhonike
pawn Код:
//OnPlayerDisconnect PlayersOnline ++; // << Estranho vice! format(textdrawstr, sizeof(textdrawstr), "Players Online: %02i", PlayersOnline); TextDrawSetString(Text:Textid, PlayersOnline); for(new i; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { TextDrawShowForPlayer(i, Text:Textid); // Atualizar o TextDraw } }
Creio que seja isso...
|
PlayersOnline ++; em OnplayerDisconnect?