3 errors still, please help!
#10

Okay

pawn Код:
public OnPlayerDisconnect(playerid)
{
    new name[24], file[246];
    GetPlayerName(playerid,name,24);
    format(file,sizeof(file),"RicAdmin/users/%s.ini",name);
    if(dini_Exists(file))
    {
        dini_IntSet(file,"Cash",GetPlayerMoney(playerid));
        dini_IntSet(file,"AdminLevel",PlayerInfo[playerid][AdminLevel]);
        IsLogged[playerid] = 0;
        return 1;
    }
   
    return 1;
}
I think that should work, i haven't tested it though
Reply


Messages In This Thread
3 errors still, please help! - by ricardo178 - 19.03.2011, 11:51
Re: 3 errors still, please help! - by PinkFloydLover - 19.03.2011, 11:55
Re: 3 errors still, please help! - by ricardo178 - 19.03.2011, 11:57
Re: 3 errors still, please help! - by PinkFloydLover - 19.03.2011, 11:58
Re: 3 errors still, please help! - by ricardo178 - 19.03.2011, 12:04
Re: 3 errors still, please help! - by PinkFloydLover - 19.03.2011, 12:10
Re: 3 errors still, please help! - by ricardo178 - 19.03.2011, 12:12
Re: 3 errors still, please help! - by PinkFloydLover - 19.03.2011, 12:19
Re: 3 errors still, please help! - by ricardo178 - 19.03.2011, 12:25
Re: 3 errors still, please help! - by PinkFloydLover - 19.03.2011, 12:34

Forum Jump:


Users browsing this thread: 1 Guest(s)