Score Don't save - 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: Score Don't save (
/showthread.php?tid=265285)
Score Don't save -
Mr.Black - 30.06.2011
Hi again

, I Got a Register - Login System which SHOULD save the Score , when you kill someone you Recieve 1 score , but when you log off / Server Restart you lose that score , i want that even in server Restart / Logging off the score save , Can someone help ?
Re: Score Don't save -
FireCat - 30.06.2011
Show us the script.
Re: Score Don't save -
Mr.Black - 30.06.2011
http://www.solidfiles.com/d/24e3/
this is the Link of the FS ( Note : Couldn't Copy / Paste it , idk why , sorry

) , + it also got a File on Scriptfiles named Players , which save the Registered player , but idk why it don't save their score too
Re: Score Don't save -
SmileyForCheat - 30.06.2011
Download if Available Download Pack System, where available Scriptfiles Other DataBase .. And Script Files Funcitions For Save A Folder
I Think XD
_______________________
Re: Score Don't save -
Mr.Black - 30.06.2011
what you mean ? lol

Re: Score Don't save -
cruising - 30.06.2011
sorry
Re: Score Don't save -
SmileyForCheat - 30.06.2011
Download Pack
Not. PWN Only
Download With WINRAR You Knows??
You English BAD??
Re: Score Don't save -
cruising - 30.06.2011
Quote:
Originally Posted by Mr.Black
Hi again  , I Got a Register - Login System which SHOULD save the Score , when you kill someone you Recieve 1 score , but when you log off / Server Restart you lose that score , i want that even in server Restart / Logging off the score save , Can someone help ? 
|
Is there anything like this in the script?
pawn Код:
new Score[MAX_PLAYERS];
dini_IntSet(file, "Score", Score[playerid]);
dini_IntSet(file, "Score", GetPlayerScore(playerid));
SetPlayerScore(playerid, dini_Int(file,"Score"));
Re: Score Don't save -
Mr.Black - 30.06.2011
nope
Re: Score Don't save -
cruising - 30.06.2011
Quote:
Originally Posted by Mr.Black
nope
|
Thats why it doesnt being saved