[Ajuda] Lucro Negativo!
#7

Quote:
Originally Posted by Holl
Посмотреть сообщение
ele quer o codigo, da hora em que dб o payday, e da a grana para as empresas...
acredito que seja aqui..

Код:
Business_PayEarnings(playerid, BusID)
{
	new Msg[2000];
	new BusType = ABusinessData[BusID][BusinessType];
	new Earnings = (BusinessTransactionTime - ABusinessData[BusID][LastTransaction]) * ABusinessInteriors[BusType][BusEarnings] * ABusinessData[BusID][BusinessLevel];
	ABusinessData[BusID][LastTransaction] = BusinessTransactionTime;
	RewardPlayer(playerid, Earnings, 0);
	format(Msg, 2000, "{3A3A3A}Sua empresa lucrou {FFFFFF}R$%i{3A3A3A} desde a sua ъltima retirada.", Earnings);
	SendClientMessage(playerid, 0xFFFFFFFF, Msg);
}
Reply


Messages In This Thread
Lucro Negativo! - by MarcoAurelio - 21.09.2015, 18:46
Re: Lucro Negativo! - by [BOPE]Seu._.Madruga - 21.09.2015, 19:19
Re: Lucro Negativo! - by MarcoAurelio - 21.09.2015, 20:14
Re: Lucro Negativo! - by Nixtren - 21.09.2015, 20:27
Re: Lucro Negativo! - by MarcoAurelio - 21.09.2015, 20:35
Re: Lucro Negativo! - by Holl - 21.09.2015, 20:41
Re: Lucro Negativo! - by MarcoAurelio - 21.09.2015, 20:48
Re: Lucro Negativo! - by Nixtren - 21.09.2015, 21:15
Re: Lucro Negativo! - by [BOPE]Seu._.Madruga - 21.09.2015, 22:33
Re: Lucro Negativo! - by MarcoAurelio - 21.09.2015, 22:40

Forum Jump:


Users browsing this thread: 6 Guest(s)