catching say / say_team
Hi All ,
I am catching the command say and say_team Quote:
Suppose I am saying Hi All When I am saying it by pressing Y or U i am able to catch it in sArgvAll But when I am saying it though console like say Hi All then I am getting Hi Hi in sArgvAll Please help on how to catch the 2nd one perfectly |
Re: catching say / say_team
|
Re: catching say / say_team
Quote:
btw i am catching through public client_command(id) |
Re: catching say / say_team
PHP Code:
|
Re: catching say / say_team
jimaway i think you misunderstood...
I am saying that i can catch through client_command(id) only , But the arguments I am getting is diff in case of console say and saying through pressing Y/ U |
Re: catching say / say_team
Quote:
|
Re: catching say / say_team
Quote:
I think I got what u wanted to say ... I will test it :p ... |
Re: catching say / say_team
I tried with
register_clcmd("say_team", "your_function") unfortunately same result :( |
Re: catching say / say_team
Code:
Keep in mind, you don't want to return PLUGIN_HANDLED in CmdSay, because then it will block anything anyone says. |
Re: catching say / say_team
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 ? |
| All times are GMT -4. The time now is 00:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.