[SOLVED] Why this message appears many times in chat?
Hello,
why in this function the message appears many times, when counter-terrorists win? PHP Code:
|
Re: Why this message appears many times in chat?
Post the register_event first
|
Re: Why this message appears many times in chat?
...
I want to fix the function only... In my plugin there is register_event. |
Re: Why this message appears many times in chat?
Look closer, you are printing a chat message in a loop ... try to get it out of it, then it will work fine.
|
Re: Why this message appears many times in chat?
No, he is printing to everybody on every loop with user specific information. He should print the message to each individual player with user specific information.
|
Re: Why this message appears many times in chat?
I tried to put message in the if( IsUserAuthorized(client) ) function and again it appears many times...
|
Re: Why this message appears many times in chat?
Quote:
|
Re: Why this message appears many times in chat?
how can I fix it?
|
Re: Why this message appears many times in chat?
Quote:
|
Re: Why this message appears many times in chat?
Ok, but I want and the other team to see that message. How can I make that without problems?
|
| All times are GMT -4. The time now is 13:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.