[AJUDA]Contator de Players.
#4

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);
Reply


Messages In This Thread
[AJUDA]Contator de Players. - by .CrazZy._.[De] - 11.10.2011, 20:03
Re: [AJUDA]Contator de Players. - by [O.z]Caroline - 11.10.2011, 20:10
Re: [AJUDA]Contator de Players. - by Pharrel - 11.10.2011, 20:14
Re: [AJUDA]Contator de Players. - by .CrazZy._.[De] - 11.10.2011, 20:25
Re: [AJUDA]Contator de Players. - by Lipe_Stronda - 11.10.2011, 23:24
Re: [AJUDA]Contator de Players. - by Pharrel - 12.10.2011, 05:24
Re: [AJUDA]Contator de Players. - by Lipe_Stronda - 12.10.2011, 11:54
Re: [AJUDA]Contator de Players. - by Josma_cmd - 12.10.2011, 11:59
Respuesta: [AJUDA]Contator de Players. - by [Red]Maninho - 12.10.2011, 12:02
Re: [AJUDA]Contator de Players. - by Kratos_xD - 14.06.2012, 16:45

Forum Jump:


Users browsing this thread: 2 Guest(s)