SA-MP Forums Archive
Saving something to a file - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Saving something to a file (/showthread.php?tid=262557)



Saving something to a file - SmugglesJr - 18.06.2011

Hey guys, im having problem saving a rank to a user when they get issued the rank, it stays but when they /q it disapears and on login it won't appear... mind helping?


Re: Saving something to a file - SmugglesJr - 19.06.2011

Anyone?


Re: Saving something to a file - Benjo - 19.06.2011

If you want to save information like this to a file, there is a great section on it in the wiki. You can read about it here: https://sampwiki.blast.hk/wiki/File_Functions

There are other ways of saving information like this, but that's perhaps something to venture into afterwards!


Re: Saving something to a file - SmugglesJr - 19.06.2011

I don't know which function tho


Re: Saving something to a file - Kitten - 19.06.2011

if your rank goes with Kills try saving the score (suggestion : use dini or djson)


Re: Saving something to a file - SmugglesJr - 19.06.2011

My rank is a Police Rank, can only be issued by department leader... can you add me on msn and help me step by step? i'd really appreciate it.


Re: Saving something to a file - Calgon - 19.06.2011

How do you save the rank? We need to see the code to be able to help you. You can paste the code at www.pastebin.com and provide a link to the page so we can check the code.


Re: Saving something to a file - SmugglesJr - 19.06.2011

I use the latest raven's roleplay script