jeudi 14 juillet 2016

Payday spamming.

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

Code:

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;
}

Code:

SetTimerEx("payday", 560, true, "i", playerid);

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.
Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting.



Payday spamming.

Aucun commentaire:

Enregistrer un commentaire