View Full Version : Can anyone help rewrite code from mysql to Yini

16/04/2017, 01:07 PM
I find this nice gang system bat problem is that she use mysql, my script use Yini so maybe someone can help rewrite it to Yini. P.S dont write "wrong section" i create here because more people visit this section.


Link: http://forum.sa-mp.com/showthread.php?t=585851

16/04/2017, 01:09 PM
Wrong section is wrong section.
If you don't want to get warned than don't post such things here.

16/04/2017, 01:09 PM
Yea I need that too

16/04/2017, 01:17 PM
here it is what you are looking for.. (http://forum.sa-mp.com/showthread.php?t=447813&page=1182)

16/04/2017, 01:50 PM
here it is what you are looking for.. (http://forum.sa-mp.com/showthread.php?t=447813&page=1182)

Well that section visit only ppl who need help you cant find any help there.

16/04/2017, 03:07 PM
It looks like you are searching for a month. My Advice: Keep coding it yourself

17/04/2017, 12:53 PM
It looks like you are searching for a month, I feel sad for you. My Advice: Keep coding it yourself

Month? Dude i search it much longer :D

18/04/2017, 10:37 AM

20/04/2017, 04:00 PM

20/04/2017, 04:23 PM

As was said, this is Scripting HELP, not script for you...

Find someone to do it for you, or learn how to do it yourself. Pasting it up and expecting people just to hand you code back is rude and isn't teaching you anything.

20/04/2017, 04:33 PM
Eh man, You have to pay to someone for this.. Or do it by yourself!

20/04/2017, 04:34 PM
No one's going to waste their time converting something to a system that is objectively inferior. Don't get your hopes up. A single table with just a few fields is easy enough to convert but as one-to-many and many-to-many relations come in to play things get progressively harder. A data schema with properly linked tables will never become dirty because the database simply won't allow it. Everything is stored exactly once and referenced from that one location. With files you don't have this guarantee. You pretty much have to store the same string (usually names) in multiple different locations and if the names changes it has to be updated in all those locations. Forget to update one and the entire thing pretty much collapses on itself. It might be easier with XML syntax because you can add the same element multiple times, thereby limiting the amount of files needed. INI is just shit. The INI file format was originally designed to store application configuration data, not complex structures.

Example in XML:
<?xml version="1.0"?>
<gang id="1" name="Grove">
<member name="SomePlayer" />
<member name="AnotherPlayer" />
<gang id="2" name="Ballas">
<member name="PlayerThree" />
<member name="PlayerFour" />
<zone name="Idlewood" owner="1" minx="1234.56" miny="1348.46" maxx="1485.12" maxy="1459.10" />
<zone ... />
<zone ... />
<zone ... />
<zone ... />