Ignore player
#2

pawn Код:
new g_Ignored[MAX_PLAYERS] = {INVALID_PLAYER_ID, ...};

CMD:ignore(playerid, params[])
{
    if(isnull(params)) return 0;
    new id = strval(params);
    g_Ignored[playerid] = id;
    return 1;
}

CMD:pm(playerid, params[])
{
    if(isnull(params)) return 0;
    new id = strval(params);

    if(g_Ignored[id] == playerid) return SendClientMessage(playerid, -1, "That user is ignoring you!");
    return 1;
}
Something along those lines
Reply


Messages In This Thread
Ignore player - by ScRipTeRi - 13.08.2013, 15:00
Re: Ignore player - by -Prodigy- - 13.08.2013, 15:06
Re: Ignore player - by ScRipTeRi - 13.08.2013, 15:15

Forum Jump:


Users browsing this thread: 1 Guest(s)