Payday spamming.
#1

So, I got this problem with my day literally spamming when the timer has loaded. Why does it do that?

pawn Код:
forward payday(playerid);
public payday(playerid)
{
    GivePlayerMoney(playerid, 1000);
    SendClientMessage(playerid, COLOR_GREEN, "_______ BANK OF LOS SANTOS _______ ");
    SendClientMessage(playerid, COLOR_GREEN, "BANK:{FFFFFF} You've received 500$ from the goverment.");
    SendClientMessage(playerid, COLOR_GREEN, "___________________________________");
    GameTextForPlayer(playerid, "~w~PAYDAY, USD 500.", 5000, 4);
    SetTimerEx("payday", 560, true, "i", playerid);
    printf("SERVER: Payday has been executed. :)");
    return 1;
}
pawn Код:
SetTimerEx("payday", 560, true, "i", playerid);
Reply


Messages In This Thread
Payday spamming. - by canip0000 - 15.07.2016, 02:01
Re: Payday spamming. - by canip0000 - 15.07.2016, 02:04
Re: Payday spamming. - by WhiteGhost - 15.07.2016, 02:21
Re: Payday spamming. - by canip0000 - 15.07.2016, 02:36
Re: Payday spamming. - by WhiteGhost - 15.07.2016, 02:50
Re: Payday spamming. - by Jonesy96 - 15.07.2016, 09:03

Forum Jump:


Users browsing this thread: 1 Guest(s)