I really need you help for savinf 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I really need you help for savinf score :( (
/showthread.php?tid=252165)
I really need you help for savinf score :( -
Panormitis - 30.04.2011
Guys i have LAdmin2 system but there is no saving score

, do you know how can i add saving score system?
Re: I really need you help for savinf score :( -
austin070 - 30.04.2011
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
new file[128], name[24];
GetPlayerName(playerid, name, sizeof(name));
format(file,sizeof(file),USER_FILE, name);
dini_IntSet(file, "Score", GetPlayerScore(playerid));
return 1;
}
If you don't use dini, just convert it to what the admin system uses.
Re: I really need you help for savinf score :( -
Panormitis - 30.04.2011
Quote:
Originally Posted by austin070
pawn Код:
public OnPlayerDisconnect(playerid, reason) { new file[128], name[24]; GetPlayerName(playerid, name, sizeof(name)); format(file,sizeof(file),USER_FILE, name); dini_IntSet(file, "Score", GetPlayerScore(playerid)); return 1; }
If you don't use dini, just convert it to what the admin system uses.
|
i must put this on admin filterscript?
Re: I really need you help for savinf score :( -
Panormitis - 30.04.2011
Quote:
Originally Posted by Panormitis
i must put this on admin filterscript?
|


?