Noob question
#2

pawn Код:
public RandomMoney()
{
    new random_money -= 1000+random(1001);
    for(new i=GetMaxPlayers()-1; i >=0; i--)
    {
        if(!IsPlayerConnected(i))    continue;
        GivePlayerMoney(i,random_money);
        new string[128];
        format(string, 100, "You paid %d$ in taxes to finance the State.", random_money);
        SendClientMessage(i,COLOR_GREEN, string);
    }
    return 1;
}
Reply


Messages In This Thread
Noob question - by Face9000 - 29.12.2011, 17:20
Re: Noob question - by Luis- - 29.12.2011, 17:22
Re: Noob question - by Face9000 - 29.12.2011, 17:46
Re: Noob question - by Stigg - 29.12.2011, 17:50
Re: Noob question - by Face9000 - 29.12.2011, 17:54

Forum Jump:


Users browsing this thread: 1 Guest(s)