SA-MP Forums Archive
admin script ?! - 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: admin script ?! (/showthread.php?tid=113406)



admin script ?! - Lajko1 - 13.12.2009

Guys i want to make my own admin script that will combinate with my gamemode , i see nice maked and explained script on wiki samp
but idk how i can save my score,money,skin,... tazer ... etc etc

here is my admin script

http://pastebin.com/m7776f069

can u tell me how i can make for example if player arrest someone he wil lget +1 score and this score will be saved next time when he login ... or if he buy tazer and the palyer go offline and come back and /login he will still have tazer ? how i can make this

i was looking in GF gamemode and Ladmin admin script and found nothing like that how to save this things ...can u help me guys ?

ty for any help


Re: admin script ?! - LarzI - 13.12.2009

Try using dINI or dUDB.
You will find them at http://www.dracoblue.net

Remember that for dUDB you need dUTILS also (I recommend that you download all 3 includes even if you only are going to use dINI, since dUTILS and dUDB includes contains some useful functions.)


Re: admin script ?! - Lajko1 - 13.12.2009

i have included those 2 dini and dudb but i dont know how to saving stats ... this is the problem


Re: admin script ?! - LarzI - 13.12.2009

Search this section of the forum.
There is a tutorial for both dINI and dUDB account systems.

Good luck!