SA-MP Forums Archive
Gang System Not saving - 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: Gang System Not saving (/showthread.php?tid=591910)



Gang System Not saving - asnan1998 - 18.10.2015

Help please , my script gang not saving if i am relog (Exit play again)
Please help , i need help
if your can help me fixed bugged 100% i'll give VPS Server UK,US
Please


Re: Gang System Not saving - AndySedeyn - 18.10.2015

It's pretty obvious where the cause of your problem lies. Save your data. There are quite a few ways implemented in SA:MP through includes and plugins to save your data. In a relational database (MySQL, SQLite...) or file processing (DINI, Y_INI...), look at which method your gamemode uses and learn how to use it.

I quote myself from another thread:
Quote:
Originally Posted by AndySedeyn
Посмотреть сообщение
You should first know how the rest of the player's data is saved in the gamemode. Is it making use of a relational database such as MySQL, SQLite or is it using a file processing library such as Y_ini, Dini..? Once you've concluded that, you should learn how these libraries work. You can then edit your gamemode so that it saves the player's data.

Tutorial MySQL: https://sampforum.blast.hk/showthread.php?tid=574714
Tutorial SQLite: https://sampforum.blast.hk/showthread.php?tid=262417
Tutorial Y_INI: https://sampforum.blast.hk/showthread.php?tid=570912
Tutorial DINI/DUDB (Deprecated, I don't recommend using this): https://sampforum.blast.hk/showthread.php?tid=270787



Re: Gang System Not saving - asnan1998 - 18.10.2015

i dont use MYSQL , do you can help for mysql ? have ******** ? can tell me your link ********


Re: Gang System Not saving - AndySedeyn - 18.10.2015

No, thank you. There are multiple tutorials in my previous reply, each about a different saving method. And if I forgot your saving method, then use ******.


Re: Gang System Not saving - asnan1998 - 18.10.2015

Please i'm really wanna for this is