Hi All ,
I am catching the command say and say_team
Quote:
if(equal(sArgv,"say")||equal(sArgv,"say_team" ))
.........................................some logic and declaratio..........
new dArgc=read_argc()
server_cmd("say 1 %d",dArgc)
for(new i=1;i<dArgc;i++)
{
read_argv(1,sArgv,63)
format(sArgvAll,127,"%s %s",sArgvAll,sArgv)
server_cmd("say 2 %s",sArgvAll)
}
|
Now the problem is
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