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



Score. - jimis - 08.06.2012

Hi all,how i am using an admin system but it is not save plyaers score.How i can save players score?


Re: Score. - $$inSane - 08.06.2012

edit your admin script but if u cant then try to add score saving filterscript


Re: Score. - Jarnu - 08.06.2012

add this On Top.. You can change it To False if you don't want to save score
pawn Code:
#define SaveScore  true
pawn Code:
#if SaveScore == true
dUserSetINT(PlayerName2(playerid)).("Score",0);
Add Above line in Your Admin Script. where there is Account.sav Lines.


Re: Score. - jimis - 08.06.2012

Ok but what codes i need to set for make this?


Re: Score. - jimis - 08.06.2012

ok,but when i complie admin script.i have this:


C:\Users\Δημητρης\Documents\server5\pawno\include\ ldudb.inc(20) : fatal error 100: cannot read from file: "dutils"


Re: Score. - JaKe Elite - 08.06.2012

You don't have dutils.inc


Re: Score. - jimis - 08.06.2012

I thought something else,how about to add this on my gamemode?


Re: Score. - Jarnu - 08.06.2012

It won't work. you can simply download dutils here http://sampfiles.weebly.com/uploads/...921/dutils.inc


Re: Score. - jimis - 08.06.2012

ok,and where to put this?


Re: Score. - JaKe Elite - 08.06.2012

put it on "MyServerFiles/pawno/include/"


Re: Score. - jimis - 08.06.2012

as text file or amx?


Re: Score. - Jarnu - 08.06.2012

put it as dutils.inc not .amx or .pwn


Re: Score. - jimis - 08.06.2012

ok,i am gonna try


Re: Score. - jimis - 08.06.2012

ok thanks,its works