I need help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I need help (
/showthread.php?tid=117936)
I need help -
armyoftwo - 02.01.2010
Okay here is the thing:
I am trying to make mafia income
I have no idea how to make it... i use these variables:
Код:
BizInfo[TheBiz][income] = 500;
and i use this
Код:
TheBiz = AddStaticPickup(1314, 2, 2194.1467,1989.0820,12.2969);
TheBiz2 = AddStaticPickup(1314, 2, 2101.4075,2121.8115,10.8203);
............................
Код:
enum mInfo
{
mafiabank,
}
new MafiaInfo[MAX_FAMILIES][mInfo];
Does someone have a hint or a tip how to make for EACH family income.
Re: I need help -
Julian2574 - 02.01.2010
Make if a player buy something from the bizniz the money will be transferd to the "faction" bank. ( Use SAGC as you'r hint)
Re: I need help -
armyoftwo - 02.01.2010
Quote:
Originally Posted by »Julian™«
Make if a player buy something from the bizniz the money will be transferd to the "faction" bank. ( Use SAGC as you'r hint)
|
i meant mafia can takeover a business and when it takeovers business the income is larger and every 1 hour the income is putten in each mafia bank
and i am not using any gf edit