SA-MP Forums Archive
Returning a string from file with djSon - 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: Returning a string from file with djSon (/showthread.php?tid=328887)



Returning a string from file with djSon - sim_sima - 26.03.2012

Hi guys.
Do you know how to return a string from a file with djSon?
The "dj" function doesnt really work.

Hope you can help. Thank you.


Re: Returning a string from file with djSon - T0pAz - 26.03.2012

Check this out -> http://dev.dracoblue.net/index.php/DJson#Example


Re: Returning a string from file with djSon - sim_sima - 26.03.2012

I have seen that already, but it doesn't work in my script. And yes, im sure that it isn't something else


Re: Returning a string from file with djSon - T0pAz - 26.03.2012

Quote:
Originally Posted by sim_sima
Посмотреть сообщение
I have seen that already, but it doesn't work in my script. And yes, im sure that it isn't something else
Try using other data storage system such as MySQL, SQLite or Y_INI. Djson is decrepit.


Re: Returning a string from file with djSon - sim_sima - 27.03.2012

Quote:
Originally Posted by T0pAz
Посмотреть сообщение
Try using other data storage system such as MySQL, SQLite or Y_INI. Djson is decrepit.
Hmm, well. I was thinking about using y_ini in stead, but I had a professional coder to review those systems for me, and he said that djSon was the best one in regards to code structures etc.