Ignore player
#1

FIXED!
Reply
#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
#3

Let i make it with my self anyway thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)