need help fixing this code
#2

pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
    new n[MAX_PLAYER_NAME], file[256];
    GetPlayerName(playerid,n,sizeof(n));
    format(file,sizeof(file),"MyAdmin/Users/%s.txt",n);
    PInfo[playerid][Logged] = 0;
    if(dini_Exists(file))
    {
        dini_IntSet(file,"Logged",0);
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
need help fixing this code - by madog357 - 26.12.2013, 21:47
Re: need help fixing this code - by ConnorHunter - 26.12.2013, 21:49
Re: need help fixing this code - by madog357 - 26.12.2013, 21:59

Forum Jump:


Users browsing this thread: 1 Guest(s)