[AJUDA]Contator de Players.
#2

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;
}
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: 1 Guest(s)