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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Score (/showthread.php?tid=165673)



Score - GangsTa_ - 05.08.2010

How to make that score will save? I got Lux Admin Filterscript and The score doesn't saves! Same goes with Lethal Admin.


Re: Score - KennethRandall - 05.08.2010

Go read wiki and learn some Dini :/


Re: Score - matthewdriftking - 05.08.2010

There are a TUT on the TUT Section


Re: Score - tylrjarvis - 05.08.2010

#include <dini>

public OnPlayerConnect
{
if(dini_Isset("score.ini",PlayerName(playerid))) SetPlayerScore(playerid,dini_Int("score.ini",Playe rName(playerid)));
}

public OnPlayerDisConnect
{
dini_IntSet("score.ini",PlayerName(playerid),GetPl ayerScore(playerid));
}

Your welcome


Re: Score - GangsTa_ - 05.08.2010

thnx. Will try


Re: Score - GangsTa_ - 06.08.2010

it doesnt works i got errors


Re: Score - GangsTa_ - 06.08.2010

HELP!!!! I want the score saved... The server sucks without it...


Re: Score - willsuckformoney - 06.08.2010

LAdmin Score saving

wont be hard, LuX admin is just a ladmin edit soo wont take much