22.07.2011, 11:04
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;
}