Pay Day Timer....
#4

this is my code for Payday

Код:
public PayDay()
{
	SendClientMessageToAll(COLOR_LIGHTBLUE,"PAYDAY: All business earnings have been updated and all players have recieved a rebate of $50000");
	for (new i = 0; i < MAX_PLAYERS; i++) {
		GivePlayerMoney(i,500);
		if(PlayerInfo[i][bowner] == 1) {
			new cbmon = BizInfo[PlayerInfo[i][bowned]][cashbox], pmon = BizInfo[PlayerInfo[i][bowned]][profit];
			BizInfo[PlayerInfo[i][bowned]][cashbox] = cbmon+pmon;
			SendClientMessage(i,COLOR_LIGHTBLUE,"To collect you business' earnings return to your business and type '/cashbox'");
		}
	}
Reply


Messages In This Thread
Pay Day Timer.... - by ricardo178 - 26.03.2011, 23:09
Re: Pay Day Timer.... - by austin070 - 26.03.2011, 23:52
Re: Pay Day Timer.... - by antonio112 - 27.03.2011, 00:09
Respuesta: Pay Day Timer.... - by martini002 - 27.03.2011, 00:13
Re: Pay Day Timer.... - by Elorreli - 27.03.2011, 00:20

Forum Jump:


Users browsing this thread: 2 Guest(s)