BanKickName = /Kick and /Ban from name -
ludesert - 05.07.2011
Hi everybody ! This is my first release. I called it BanKickName.
Why ?
It's just two commands : /kick and /ban from name/part of name, because I thought that kicking (or banning) from an ID is very slow and annoying.
Requirements
Sscanf plugin witch can be found
here.
How ?
Before using this filterscript, you must edit your "server.cfg" file (witch is in the root directory of your server). At the "filterscripts" line, remove "base" and add "BanKickName", and save the file. Then, copy the BanKickName.amx file in the "filterscripts" directory (witch is in the root directory of your server).
WARNING :
hello- This will desactivate the "base" filterscript that contains the /kic, /ban and /pm from ID commands. To reactivate it, simply re-enter "base" in the "filterscripts" line, juse re-enter "base" and save the file.
hello- Don't use "base" and "BanKickName" filterscripts toguether, they are not compatible.
To use the commands, you must be logged as admin !
The commands must be used like that :
hello-
/kick [playername/part of name] [reason]
=> This will kick the player and he will recieve 2 messages :
hellohello·"You were kicked from the server by [admin who kicked the player]".
hellohello·"Reason : [the reason that the admin entered]".
=> All players connected to the server will recieve two messages :
hellohello·"Player [player who was kicked] was kicked by [admin who banned]".
hellohello·"Reason: [the reason that the admin entered]".
hello-
/ban [playername/part of name] [reason]
=> This will ban the player and he will recieve 2 messages :
hellohello·"You were banned from the server by [admin who bannedthe player]".
hellohello·"Reason : [the reason that the admin entered]".
=> All players connected to the server will recieve two messages :
hellohello·"Player [player who was banned] was banned by [admin who banned]".
hellohello·"Reason: [the reason that the admin entered]".
Downloads
You can download the compiled filterscript (.amx) here :
http://www.mediafire.com/?rmzd0g51go4jnp4
And it's source (.pwn) here :
http://www.mediafire.com/?j1c82ah0htzlmf8
PS: If there are any error or bugs in the filterscript, contact me
Re: BanKickName = /Kick and /Ban from name -
System64 - 05.07.2011
where is the source (.pwn) file?
I can ban with player name without this -.-, I think you just rename base.amx into this!
Re : BanKickName = /Kick and /Ban from name -
ludesert - 05.07.2011
No, you can't ban a player from his name with base filterscript. I will add the pwn file in a few minuts.
Re : BanKickName = /Kick and /Ban from name -
ludesert - 05.07.2011
So ? Do you think I just renamer the filterscript ? :P
Re: BanKickName = /Kick and /Ban from name -
Venice - 05.07.2011
Wow Very Hard To make
Re: BanKickName = /Kick and /Ban from name -
ludesert - 05.07.2011
Quote:
Originally Posted by Indian
Wow Very Hard To make
|
Yes, it was little difficult to make it because I'm a noob scripter ^^ For a good scripter, I think it's very simple to make.
Re : BanKickName = /Kick and /Ban from name -
ludesert - 06.07.2011
Up !
Re: BanKickName = /Kick and /Ban from name -
Basicz - 06.07.2011
Quote:
Originally Posted by ludesert
=> This will kick the player and he will recieve 2 messages :
hellohello·"You were kicked from the server by [admin who kicked the player]".
hellohello·"Reason : [the reason that the admin entered]".
=> All players connected to the server will recieve two messages :
hellohello·"Player [player who was kicked] was kicked by [admin who banned]".
hellohello·"Reason: [the reason that the admin entered]".
=> This will ban the player and he will recieve 2 messages :
hellohello·"You were banned from the server by [admin who bannedthe player]".
hellohello·"Reason : [the reason that the admin entered]".
=> All players connected to the server will recieve two messages :
hellohello·"Player [player who was banned] was banned by [admin who banned]".
hellohello·"Reason: [the reason that the admin entered]".
|
wtf
the code :
pawn Code:
format(msgtoall1, sizeof(msgtoall1), "Le joueur %s a йtй banni du serveur par %s", GetName(id), admin);
return SendClientMessage(playerid, 0xFF0000AA, "Joueur non trouvй");
format(msg2, sizeof(msg2), "Raison: %s.", reason);
That's from the script I downloaded.. :\
Copying script eh?
Re : BanKickName = /Kick and /Ban from name -
ludesert - 06.07.2011
Oops ! This is my script, but it is in French because my server is in French. So, I translated it to release it, but I think I didn't upload the good file. Fixed
Sorry for that :/
Re: BanKickName = /Kick and /Ban from name -
System64 - 06.07.2011
I dunno what is so hard to make this but okay nice
Re : BanKickName = /Kick and /Ban from name -
ludesert - 06.07.2011
It was little difficult because I'm nt a good scripter
For a good scripter, this FS is done in 5 minuts
Re: BanKickName = /Kick and /Ban from name -
Phanto90 - 06.07.2011
Wtf is Hellohello in description D:
Anyway don't bump if nobody reply
Re: BanKickName = /Kick and /Ban from name -
ludesert - 06.07.2011
Tab doedn't work
Re : BanKickName = /Kick and /Ban from name -
Alvin007 - 06.07.2011
very nice ! keep up the good work mate
Re : BanKickName = /Kick and /Ban from name -
ludesert - 08.07.2011
Thx =)
Re : BanKickName = /Kick and /Ban from name -
Ludesert31 - 17.07.2011
My account was banned (I did an error ...), so I created a new account. I'll reply with this one !