Score &money
#3

pawn Код:
public OnPlayerSpawn(playerid)
{
    SetTimer("PocketMoney", 600000, true);
    return 1;
}

forward PocketMoney();
public PocketMoney()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        new pMoney, pScore;
        GetPlayerMoney(pMoney);
        GetPlayerScore(pScore);
        GivePlayerMoney(i, pMoney+5000);
        SetPlayerScore(i, pScore+1);
    }
}
Reply


Messages In This Thread
Score &money - by Shockey - 03.08.2010, 13:13
Re: Score &money - by Mauzen - 03.08.2010, 13:39
Re: Score &money - by V1ceC1ty - 03.08.2010, 13:57
Re: Score &money - by Shockey - 03.08.2010, 16:22

Forum Jump:


Users browsing this thread: 2 Guest(s)