30.04.2011, 14:06
Guys i have LAdmin2 system but there is no saving score , do you know how can i add saving score system?
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;
}
pawn Код:
|