I really need you help for savinf score :(
#1

Guys i have LAdmin2 system but there is no saving score , do you know how can i add saving score system?
Reply
#2

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.
Reply
#3

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?
Reply
#4

Quote:
Originally Posted by Panormitis
Посмотреть сообщение
i must put this on admin filterscript?
?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)