Raised This Month: $ Target: $400
 0% 

catching say / say_team


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kreation
Veteran Member
Join Date: Jan 2010
Location: Illinois
Old 07-14-2011 , 15:57   Re: catching say / say_team
Reply With Quote #1

Code:
#include < amxmodx > public plugin_init( ) {     register_clcmd( "say", "CmdSay" );     register_clcmd( "say_team", "CmdSay" ); } public CmdSay( id ) {     new szArg[192];     read_args( szArg, charsmax( szArg ) );     remove_quotes( szArg );         // szArg is what the person said     // do stuff }

Keep in mind, you don't want to return PLUGIN_HANDLED in CmdSay, because then it will block anything anyone says.
__________________
Hi.
Kreation is offline
gamer99
Senior Member
Join Date: Jul 2011
Old 07-14-2011 , 16:20   Re: catching say / say_team
Reply With Quote #2

suppose I am trying when i will say

who am i ?

answewr will be player

(just and example)

Now when I am saying this through Y/ U its working fine .

Buy when I am typing in console say who am i ?

its not working but when I am typing in console say "who am i ?"
its working ...

Got my problem ?
gamer99 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 00:46.


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