SA-MP Forums Archive
Command - /createbiz - 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)
+--- Thread: Command - /createbiz (/showthread.php?tid=442794)



Command - /createbiz - feartonyb - 09.06.2013

Okay, this is my problem. I made /createbiz command but the thing is my businesses save in bizz.cfg. I made a command but I don't have an idea how to add new line in bizz.cfg with new business I added with the command.


Re: Command - /createbiz - Tass007 - 09.06.2013

Can you please post your code?


Re: Command - /createbiz - feartonyb - 09.06.2013

You don't need the code. I just need the loop to check the lines in bizz.cfg. Some lines in cfg:

Код:
0|Drzava|Glavni Ammunation|Niko|1367.969116|-1279.782592|13.546875|296.871795|-111.726501|1001.515625|7|95000|100|50211|0|6|383|500|300
0|Drzava|Restoran|Niko|1498.360107|-1583.031860|13.546895|-794.936218|490.632385|1376.195312|7|95000|100|0|1|1|71|500|100



Re: Command - /createbiz - feartonyb - 09.06.2013

BUMP


Re: Command - /createbiz - feartonyb - 11.06.2013

BUMP


Re: Command - /createbiz - JhnzRep - 11.06.2013

No code, no help.


Re: Command - /createbiz - KingHual - 11.06.2013

Quote:
Originally Posted by JhnzRep
Посмотреть сообщение
No code, no help.
The OP doesn't have an issue with exising code, why should they provide it?

Straight to the point: https://sampwiki.blast.hk/wiki/Fwrite contains everything you need to know.


Re: Command - /createbiz - feartonyb - 11.06.2013

Quote:
Originally Posted by JhnzRep
Посмотреть сообщение
No code, no help.
-.-'


Thanks I did it my way. Thanks anyway.