Raised This Month: $ Target: $400
 0% 

disable %s spam in chat


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
deepaklost
Member
Join Date: Jan 2011
Old 01-23-2012 , 12:23   disable %s spam in chat
Reply With Quote #1

how to disable this command.... ppl simply spam on server with %s ur noob , n all start fighting n abusing each other..how to disable that command....

using %s in chat adds players screen with their nick, so if a players type %s hi in chat it will add 'player name' hi ......

Last edited by deepaklost; 01-23-2012 at 13:03.
deepaklost is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-23-2012 , 12:25   Re: disable %s spam in chat
Reply With Quote #2

Code:
#include <amxmodx> public plugin_init() {     register_plugin("Block %s In Chat", "0.0.1", "Exolent");         register_clcmd("say", "CmdSay");     register_clcmd("say_team", "CmdSay"); } public CmdSay(id) {     new args[192];     read_args(args, charsmax(args));     remove_quotes(args);         return (containi(args, "%s") == -1) ? PLUGIN_CONTINUE : PLUGIN_HANDLED; }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
deepaklost
Member
Join Date: Jan 2011
Old 01-23-2012 , 12:29   Re: disable %s spam in chat
Reply With Quote #3

wow...that was fast............. thnx............. did sum1 already requested it before?? i searched with %s restrict/block/disable n didnt find any..... this will help who wanted like me....
deepaklost is offline
deepaklost
Member
Join Date: Jan 2011
Old 01-23-2012 , 13:00   Re: disable %s spam in chat
Reply With Quote #4

plugin not working , tried as admin as well as normal player... still ppl can spam
deepaklost is offline
deepaklost
Member
Join Date: Jan 2011
Old 01-24-2012 , 08:35   Re: disable %s spam in chat
Reply With Quote #5

plugin compiled well but in server it says bad load..... did i make anythign mistake ?? i renamed file as "stop %s spam.amxx" using symbols in name make any difference ??
deepaklost is offline
Ex1ne
Senior Member
Join Date: Oct 2011
Location: Norway
Old 01-24-2012 , 08:39   Re: disable %s spam in chat
Reply With Quote #6

I think you need to add an _ or something else between the name,
like "This Is A Test.amxx" -> "This_Is_A_Test.amxx"
__________________
Ex1ne is offline
deepaklost
Member
Join Date: Jan 2011
Old 01-25-2012 , 08:41   Re: disable %s spam in chat
Reply With Quote #7

Quote:
Originally Posted by Ex1ne View Post
I think you need to add an _ or something else between the name,
like "This Is A Test.amxx" -> "This_Is_A_Test.amxx"
changed name ... plugin status running now, but still its not blocking %s function in chat.....
deepaklost is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 01-25-2012 , 12:20   Re: disable %s spam in chat
Reply With Quote #8

people are using the key "%" or are you actually trying to block someone from using the numbers keys or symbols at all?
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
deepaklost
Member
Join Date: Jan 2011
Old 01-25-2012 , 12:52   Re: disable %s spam in chat
Reply With Quote #9

Quote:
Originally Posted by joshknifer View Post
people are using the key "%" or are you actually trying to block someone from using the numbers keys or symbols at all?
actually wen some1 type %s hi pro in chat

eg: me: %s hi pro

if ur are player u will see in screen as - me: joshknifer hi pro
another player don will receive in his screen - me : don hi pro

so each player think they are saying hi pro to him and start replying... thus flooding the chat.... hope u understand now......
deepaklost is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-25-2012 , 13:15   Re: disable %s spam in chat
Reply With Quote #10

Show the output of the following commands:
rcon meta list
rcon amxx plugins
rcon meta version
rcon version
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode