[FilterScript] [FS]AntiSpam + AntiFlooding + PM
#1

[FS]AntiSpam + AntiFlooding + PM

Info
This Filterscript has a antispam system pluss a antiflooding and pm command.
Commands:

/PM
Download:

NEW!> Elmerz Oficial: >>CLICK HERE!<<
Mediafire: >>CLICK HERE!<<
Reply
#2

Any cmd to disable pm's ? anyway, gj.
Reply
#3

Thats bad Else i'd be using it, were searching long for a antispam + anti flood + pm try to add a cmd to disable pms pl0x ^^
Reply
#4

Look at THIS
It has Disable/Enable Command too. And' It's dialog based. Anyways, you can use that PM system what I gave and this antispam/antiflood.
Reply
#5

Well, i don't want a dialog based one. I just want /pm id message and a cmd to disable it ;p And a anti flood + anti spam that works properly.
Reply
#6

Well it's not hard to make it yourself!

pawn Код:
new IgnorePM[MAX_PLAYER_NAME];
OnPlayerConnect:
pawn Код:
public OnPlayerConnect(playerid)
{
        IgnorePM[playerid] = 1;
        return 1;
}
pawn Код:
CMD:pm(playerid, params[])
{
    new str2[256], id, Name1[MAX_PLAYER_NAME], Name2[MAX_PLAYER_NAME];

    if(sscanf(params, "us", id, str2))
    {
        SendClientMessage(playerid, COLOR_HERE, "/pm [ID] [MESSAGE]");
        return 1;
    }
    if(IgnorePM[id] == 0)
        return SendClientMessage(playerid, COLOR_RED, "That player is not accepting PM's at this time!");

    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0xFF0000FF, "[Error]: Player not connected");
    if(playerid == id) return SendClientMessage(playerid, 0xFF0000FF, "[Error]: You cannot pm yourself!");
    {
        GetPlayerName(playerid, Name1, sizeof(Name1));
        GetPlayerName(id, Name2, sizeof(Name2));
        format(stri, sizeof(stri), "PM To %s(%d): %s", Name2, id, str2);
        SendClientMessage(playerid, COLOR_HERE, stri);
        format(stri, sizeof(stri), "PM From %s(%d): %s", Name1, playerid, str2);
        SendClientMessage(id, COLOR_HERE, stri);
        printf("PM From %s to %s: %s", Name1, Name2, str2);
    }
    return 1;
}
pawn Код:
CMD:ignorepm(playerid, params[])
{
    if(IgnorePM[playerid] == 1)
    {
        SendClientMessage(playerid, COLOR_HERE, "You have disabled private messages and will no longer receive them!");
        IgnorePM[playerid] = 0;
    }
    else
    {
        SendClientMessage(playerid, COLOR_HERE, "You have enabled private messages and will receive them!");
        IgnorePM[playerid] = 1;
    }
    return 1;
}
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
        IgnorePM[playerid] = 0;
        return 1;
}
Reply
#7

FreshDoubleX You do NOT post tutorials here!
Reply
#8

Your topics always look like a comic book lol...to many colors...
Reply
#9

Quote:
Originally Posted by [SU]Balli
Посмотреть сообщение
Any cmd to disable pm's ? anyway, gj.
just edit the pawno code
Reply
#10

Quote:
Originally Posted by [SU]Balli
Посмотреть сообщение
Thats bad Else i'd be using it, were searching long for a antispam + anti flood + pm try to add a cmd to disable pms pl0x ^^
don't be a noob just edit the pawno code
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)