SA-MP Forums Archive
Load Bussines from some .cfg file - 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: Load Bussines from some .cfg file (/showthread.php?tid=120428)



Load Bussines from some .cfg file - Naruto4 - 11.01.2010

i have made a bussines enum.and putted some things in it(owner,entrace cord,interior,price...)
and i made a file in scripting files.
Код:
0,None,1833.0999,-1842.4633,13.5781,-30.8571,-90.6608,1003.5469,10,4,500000,0,1,100,100
biz.cfg
now i tried to make a public loadbiz() that will load the settings from biz.cfg but i didnt know rly how.

thx help me


Re: Load Bussines from some .cfg file - Correlli - 11.01.2010

Ask in the topic from where you've downloaded the gamemode.


Re: Load Bussines from some .cfg file - Naruto4 - 11.01.2010

No.It is my Game Mode(written from scrach). I made most of the server... now just biz & house system is left.



Re: Load Bussines from some .cfg file - Correlli - 11.01.2010

Quote:
Originally Posted by Naruto4
Код:
0|None|1833.0999|-1842.4633|13.5781|-30.8571|-90.6608|1003.5469|10|4|500000|0|1|100|100
This is a GF format, this is not your gamemode written from scratch.


Re: Load Bussines from some .cfg file - Naruto4 - 11.01.2010

it is my GameMode. It aint GF.


Re: Load Bussines from some .cfg file - kmzr - 11.01.2010

You're using DINI to save the information?


Re: Load Bussines from some .cfg file - Niixie - 11.01.2010

Guess if you made enum then use
BizzInfo[something][something]


Re: Load Bussines from some .cfg file - Naruto4 - 11.01.2010

i used dudb but i inluded dini too.
it doesnt matter what system