[pedido]
#3

Feito!

Topo do GM:
PHP код:
new ponline 0;
new 
TotalSlots;
new 
Text:PlayersON;
new 
atualizarplayers
OnGameModeInit:
PHP код:
atualizarplayers SetTimer("AttPlayersON",1500,1);// Settimer de atualizar os Players ONLINE 
E coloque isso tambem no OnGameMOdeInit:
PHP код:
PlayersON TextDrawCreate(504.000000398.000000"Players On: --/--");
    
TextDrawBackgroundColor(PlayersON255);
    
TextDrawFont(PlayersON1);
    
TextDrawLetterSize(PlayersON0.3000001.499999);
    
TextDrawColor(PlayersON16711935);
    
TextDrawSetOutline(PlayersON1);
    
TextDrawSetProportional(PlayersON1); 
OnGameModeExit:
PHP код:
KillTimer(atualizarplayers); 
Final do GM:
PHP код:
forward AttPlayersON(playerid);
public 
AttPlayersON(playerid)
{
    for(new 
dj 0dj MAX_PLAYERSdj++)
    {
        
format(String30"Players On: %d/%d"ponlineTotalSlots);
        
TextDrawSetString(PlayersONString);
        
TextDrawShowForPlayer(playeridPlayersON);
    }
    return 
1;

Pronto, tenho que sair que a fachineira vai limpar aqui agora, se tiver errado eu arrumo jajб!
Reply


Messages In This Thread
[pedido] - by NightWollF - 24.08.2011, 16:41
Re: [pedido] - by Vai_Besta - 24.08.2011, 16:48
Re: [pedido] - by Bruno Pereira - 24.08.2011, 17:01
Re: [pedido] - by Bruno[]Lima - 24.08.2011, 17:05
Re: [pedido] - by RockFire - 24.08.2011, 17:17
Re: [pedido] - by JonathanFeitosa - 24.08.2011, 17:49
Re: [pedido] - by [R] ousenber [K] - 24.08.2011, 18:10
Respuesta: [pedido] - by ReDKiiL - 24.08.2011, 18:24
Re: [pedido] - by JonathanFeitosa - 24.08.2011, 18:27
Re: [pedido] - by Kuddy - 24.08.2011, 18:45

Forum Jump:


Users browsing this thread: 1 Guest(s)