[FilterScript] Celebrity Name Checker v1.0
#1

Celebrity Name Checker
Version 1.0

Hello and welcome to my latest filterscript, this filterscript will kick those who enter your server with a celebrity name, obviously you will need to add some more but I have added some for you.

I don't think there is any need for any screens because the name basically tells you what it does.

You can add new celebrity names by adding them here:
pawn Код:
new CelebNames[][] = {
    "David_Beckham",
    "Wayne_Rooney",
    "Harry_Potter",
    "Johnny_Knoxville",
    "Bam_Margera",
    "Celeb_Name_Here"
};
Good luck with your scripting future and thanks for looking / using this!

Downloads
celebname.pwn.
celebname.amx.

Credits
Daniel-92.
FireCat.

Reply
#2

Give credits, you asked how to do this in scripting discussion.
Reply
#3

Why Justin_Bieber isn't on list? :O
Reply
#4

Nice :b
EDIT:
pawn Код:
public OnPlayerConnect(playerid)
{
    new
        pName[MAX_PLAYER_NAME]
    ;
    GetPlayerName( playerid, pName, sizeof(pName) );
    if(strcmp("JustinBieber",pName) == 0)
    {
        BanEx( playerid, "JUSTINBIEBER HAX :OOO" );
        SendClientMessage( playerid, red, "Welcome to my server!" );
    }
    return 1;
}
Reply
#5

Apparently you love football and Jackass...
Reply
#6

Well, I do actually but those names just came to my head while making it xD, and thanks everyone! And I couldn't add Justin Bieber because it'd break my Pawno.
Reply
#7

Quote:
Originally Posted by -Luis
Посмотреть сообщение
Well, I do actually but those names just came to my head while making it xD, and thanks everyone! And I couldn't add Justin Bieber because it'd break my Pawno.
LOL.
Suggestions:
-Make this as an include
-Add a function AddCelebName(const celebname[]);
Reply
#8

I might do that later on, I am planning to open a piloting server soon.
Reply
#9

I find this Useless.....that's my opinion....
Reply
#10

Quote:
Originally Posted by FireCat
Посмотреть сообщение
Nice :b
EDIT:
pawn Код:
public OnPlayerConnect(playerid)
{
    new
        pName[MAX_PLAYER_NAME]
    ;
    GetPlayerName( playerid, pName, sizeof(pName) );
    if(strcmp("JustinBieber",pName) == 0)
    {
        BanEx( playerid, "JUSTINBIEBER HAX :OOO" );
        SendClientMessage( playerid, red, "Welcome to my server!" );
    }
    return 1;
}
:O
evil!
you ban him only because he is justin bieber? well i would ban him to >


anyway nice script Luis
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)