[ajuda] playday
#2

й muito simples:

Coloque no Topo:
pawn Код:
forward Pd();
No Final do GM
pawn Код:
public Pd()
{
    for(new i; i < MAX_PLAYERS; ++i)
    {
        if(IsPlayerConnected(i))
        {
            GivePlayerMoney(i, 150); // aonde estб o 150 й a quantidade de dinheiro que cada player irб receber.
        }
    }
    SendClientMessageToAll(-1,"Parabйns, vocк recebeu payday!");
}
Coloque no OnGameModeInit
pawn Код:
SetTimer("Pd", 5000, true);
Reply


Messages In This Thread
[ajuda] playday - by Don_Speed - 05.10.2011, 23:19
Re: ajuda playday - by [O.z]Caroline - 05.10.2011, 23:36
Re: ajuda playday - by Paramount. - 05.10.2011, 23:40

Forum Jump:


Users browsing this thread: 1 Guest(s)