SA-MP Forums Archive
God Father Platinum adding business's and houses won't show up ?!? - 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: God Father Platinum adding business's and houses won't show up ?!? (/showthread.php?tid=76638)



God Father Platinum adding business's and houses won't show up ?!? - Qeux - 05.05.2009

Ok so i thought i had a good understanding of how to add houses and businesses so here is what i did

i added into the biz.cfg something like this this:
Код:
0|The State|~w~City Bank|No-one|1462.395751|-1012.391174|26.843799|2305.688964|-16.088100|26.749599|5|5000000|0|0|1|0|86869|100000|1
which i made directly coresponding with this which i got directly from the gamemode
Код:
enum bInfo
{
  bOwned,
	bOwner[64],
	bMessage[128],
	bExtortion[MAX_PLAYER_NAME],
	Float:bEntranceX,
	Float:bEntranceY,
	Float:bEntranceZ,
	Float:bExitX,
	Float:bExitY,
	Float:bExitZ,
	bLevelNeeded,
	bBuyPrice,
	bEntranceCost,
	bTill,
	bLocked,
	bInterior,
	bProducts,
	bMaxProducts,
	bPriceProd,
};
new BizzInfo[7][bInfo];
after i added it i made the array (which was originally at 6) to 7 because i added one more business... but then when i compiled and restarted the server the business didn't show up... i went back to the bizz.cfg and the one that i just added was deleted. i've done this several times i even put the array at 8 with no dice just added like 2 banks at the bottom anyone have any clue what is going on?





Re: God Father Platinum adding business's and houses won't show up ?!? - Joe Staff - 05.05.2009

Check to make sure the 7 is the same for saving and loading bizzinfo. (note: sizeof(bizzinfo) works too)


Re: God Father Platinum adding business's and houses won't show up ?!? - darkmagic2 - 03.09.2009

same happens to me and still dontknow why