SA-MP Forums Archive
save help - 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: save help (/showthread.php?tid=349633)



save help - varga - 09.06.2012

i have a command with no errors but it dont save after the player left the server... i want that if the player join again then he would spawn as a mafian and get everything like they do... i need help in a hurry
in advance, i would be glad if anyone can help me...
thanks,
varga

PS who need the command you can find it at : http://pastebin.com/EUN8BZu2 so i have no error just cant save because i dont know how too.... if anyone know pleas fill my script with he great form thanks!
NEED HELP!!! I aleays help peope who can and none help me only once


Re: save help - varga - 09.06.2012

only my question isstaying non repplied?? -.-" pls i need help
((((((


Re: save help - Djole1337 - 09.06.2012

Stop bumping...


Re: save help - Faisal_khan - 09.06.2012

You don't have a saving system get one or make your own. If you are not able to make on try downloading one or search wiki.sa-mp.com for help on how to make "one".


Re: save help - Grimrandomer - 09.06.2012

You need a way of saving the players team.

To save a players team you will need a username/password system to save their stats/log them in to load their stats.

To main ways are Files or Database's

Best approch is a database.

When a player joins the server, check if the name is registered. if it is, promp them for a login password. if it isnt, promp them to pass them a password.

Then when they leave the server, if they where logged in, update their 'team' stat, and when they log in simply load their 'team' stat.

Have a look around the SA-MP forums for a good database login script/tuorial.


Re: save help - varga - 10.06.2012

can anyone send me a link with the best sving system thanks i advance


Re: save help - JaKe Elite - 10.06.2012

Don't be lazy search it yourself


Re: save help - varga - 10.06.2012

ye i did (y_ini, dini) tied it .... both of them is hard for me i cant understand what they are doin'


Re: save help - Faisal_khan - 10.06.2012

Why not make one as I have mentioned above in my post?


Re: save help - varga - 11.06.2012

cuz i am not good scripter enough to make an own... thats why i have asked you guys to edit my command but no one help me i said that you can use any save systems cuz i can download them but i tried all of the famous ones....