30.06.2014, 04:50
Hey,
This tutorial shows you how to make simple payday system
Under
Add :
Example :
Then, Any where in your script add :
Done.
Hope it worked , If you got any error post it here.
Thanks
This tutorial shows you how to make simple payday system
Under
Code:
public OnGameModeInit() {
Code:
SetTimer("payday", 600000, 1); // You can change the timer if you want.
Code:
puplic OnGameModeInit() { SetTimer("payday", 600000, 1); // You can change the timer if you want. return 1; }
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; }
Hope it worked , If you got any error post it here.
Thanks