wtf. Level issue..
#9

Quote:
Originally Posted by dice7
Then show your OnPlayerDisconnect
I know it has nothing to do with onplayerdisconnect because it happens when the player connects, but theres nothing under there that would do it.

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    new pName[24], PlayerFile[50];
    GetPlayerName(playerid, pName, sizeof(pName));
    format(PlayerFile, sizeof(PlayerFile), "AdminScript/Users/%s.ini", pName);
    SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
    dini_IntSet(PlayerFile, "LoggedIn", 0);
    dini_IntSet(PlayerFile, "Money", GetPlayerMoney(playerid));
    dini_IntSet(PlayerFile, "Level", pInfo[playerid][Level]);
    return 1;
}
Reply


Messages In This Thread
wtf. Level issue.. - by _Vortex - 13.09.2009, 19:35
Re: wtf. Level issue.. - by dice7 - 13.09.2009, 19:41
Re: wtf. Level issue.. - by _Vortex - 13.09.2009, 19:42
Re: wtf. Level issue.. - by dice7 - 13.09.2009, 19:45
Re: wtf. Level issue.. - by _Vortex - 13.09.2009, 19:51
Re: wtf. Level issue.. - by dice7 - 13.09.2009, 19:53
Re: wtf. Level issue.. - by _Vortex - 13.09.2009, 19:58
Re: wtf. Level issue.. - by dice7 - 13.09.2009, 20:00
Re: wtf. Level issue.. - by _Vortex - 13.09.2009, 20:01
Re: wtf. Level issue.. - by coole210 - 13.09.2009, 22:14

Forum Jump:


Users browsing this thread: 1 Guest(s)