Payday
#2

First of all, I'm assuming you want the timer for a certain player only,
not global :
pawn Код:
SetTimerEx("Payday", 60000, true, "i", playerid);


forward Payday(playerid);
public Payday(playerid)
{
    GivePlayerMoney(playerid, 1000);
    SendClientMessage(playerid, COLOR_RED, "..:Payday:..");
    SendClientMessage(playerid, COLOR_WHITE, "You have recieved $1000 in to your bank"
    SendClientMessage(playerid, COLOR_RED, "Spend it wisley!");
    return 1;
}
and second, please read this :
SetTimer : https://sampwiki.blast.hk/wiki/SetTimer
SetTimerEx : https://sampwiki.blast.hk/wiki/SetTimerEx

Remember! : 1000 = 1 second.
Reply


Messages In This Thread
Payday - by Luis- - 07.08.2010, 14:09
Re: Payday - by ViruZZzZ_ChiLLL - 07.08.2010, 14:14
Re: Payday - by Luis- - 07.08.2010, 15:30
Re: Payday - by Luis- - 07.08.2010, 16:40
Re: Payday - by Hiddos - 07.08.2010, 16:42
Re: Payday - by -Rebel Son- - 07.08.2010, 16:48

Forum Jump:


Users browsing this thread: 1 Guest(s)