[Tutorial] How to make Simple PayDay System
#1

Hey,
This tutorial shows you how to make simple payday system

Under
Code:
public OnGameModeInit()
{
Add :
Code:
SetTimer("payday", 600000, 1); // You can change the timer if you want.
Example :
Code:
puplic OnGameModeInit()
{
SetTimer("payday", 600000, 1); // You can change the timer if you want.
return 1;
}
Then, Any where in your script add :
Code:
forward payday();
public payday()
{
    for(new i = 0; i < MAX_PLAYERS; i++) if(IsPlayerConnected(i))
    {
        GameTextForPlayer(i, "PAYDAY", 1000, 1);
        GivePlayerMoney(i, 1000); // You can change the ammount of money. 
    }
    return 1;
}
Done.
Hope it worked , If you got any error post it here.
Thanks
Reply


Messages In This Thread
How to make Simple PayDay System - by kirostar - 30.06.2014, 04:50
Re: How to make Simple PayDay System - by KayJ - 30.06.2014, 04:55
Re: How to make Simple PayDay System - by kirostar - 30.06.2014, 04:58
Re: How to make Simple PayDay System - by KayJ - 30.06.2014, 05:47
Re: How to make Simple PayDay System - by AviPeker - 30.06.2014, 07:30
Re: How to make Simple PayDay System - by kirostar - 30.06.2014, 07:38
Re: How to make Simple PayDay System - by Team_PRO - 30.06.2014, 08:39
Re: How to make Simple PayDay System - by LivingLikeYouDo - 30.06.2014, 09:30
Re: How to make Simple PayDay System - by kirostar - 30.06.2014, 17:24
Re: How to make Simple PayDay System - by anou1 - 07.07.2014, 10:03

Forum Jump:


Users browsing this thread: 1 Guest(s)