05.08.2010, 19:43
#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
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