Quote:
Originally Posted by [O.z]Caroline
pawn Код:
new players = -1; // COLOCA ISTO NO TOPO
// NO TOPO DO ONPLAYERCONNECT players++;
// NO FINAL DO GM forward AtualizeTextDraws(); public AtualizeTextDraws() { new carol[128]; format(carol, sizeof(carol),"Players: %d/%d", players, GetMaxPlayers(); SendClientMessage(playerid, -1, carol); return 1; }
algo assim.
assim mandarб mensagem.
para colocar textdraw:
pawn Код:
new players = -1; // COLOCA ISTO NO TOPO
// NO TOPO DO ONPLAYERCONNECT players++;
// NO FINAL DO GM forward AtualizeTextDraws(); public AtualizeTextDraws() { new carol[128]; format(carol, sizeof(carol),"Players: %d/%d", players, GetMaxPlayers(); TextDrawSetcarol(textdrawqualquerlugar, carol); TextDrawShowForAll(textdrawqualquerlugar); return 1; }
|
Serб que pode colocar pra mim ? D;
pawn Код:
Textdraw0 = TextDrawCreate(507.000000, 436.000000, "(%d/%d) ~w~Jogadores~n");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 3);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);