Quick reply to PM's
#3

Using 256 cells is useless here, 144 would be pretty enough. If you're following Abagail's code, you have to either check if player is connected while replying or else set the array to INVALID_PLAYER_ID.

Based on the latter one;
pawn Код:
public OnPlayerDisconnect(playerid)
{
    for(new i = 0, j = GetMaxPlayers(); i< j; i++)
    {
        if(LastPMed[playerid] != i) continue;
        LastPMed[playerid] = INVALID_PLAYER_ID;
    }
    return 1;
}
Reply


Messages In This Thread
Quick reply to PM's - by FunnyBear - 14.12.2014, 15:31
Re: Quick reply to PM's - by Abagail - 14.12.2014, 15:35
Re: Quick reply to PM's - by Lordzy - 14.12.2014, 15:57

Forum Jump:


Users browsing this thread: 1 Guest(s)