udb saving rank, tiny error.
#4

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    new player, rank;
    if (udb_Exists(PlayerName(playerid)))
    {
        if (PLAYERLIST_authed[playerid])
        {
            dUserSetINT(PlayerName(playerid)).("rank",pInfo[playerid][pRank]);
        }
        PLAYERLIST_authed[playerid]=false;
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
udb saving rank, tiny error. - by Facepunch - 22.07.2011, 10:44
Re: udb saving rank, tiny error. - by MadeMan - 22.07.2011, 10:56
Re: udb saving rank, tiny error. - by Facepunch - 22.07.2011, 11:02
Re: udb saving rank, tiny error. - by MadeMan - 22.07.2011, 11:04
Re: udb saving rank, tiny error. - by Facepunch - 22.07.2011, 11:07
Re: udb saving rank, tiny error. - by MadeMan - 22.07.2011, 11:08
Re: udb saving rank, tiny error. - by Facepunch - 22.07.2011, 11:13
Re: udb saving rank, tiny error. - by MadeMan - 22.07.2011, 11:40

Forum Jump:


Users browsing this thread: 3 Guest(s)