[error] duplication EventTeamScore
is having spoofing of events, how to fix?
PHP Code:
PHP Code:
|
Re: [error] duplication EventTeamScore
Are you sure you do not have 2 of the same plugins running? Maybe a test version and another version? Check your plugins.ini to be sure. If you want faster help, post code that I can paste in an IDE and compile without having to create a list of variables and things.
In the past I've spent time wondering why something wasn't working only to find out I either didn't enable the plugin in plugins.ini, or I had something else running that counteracted it. |
Re: [error] duplication EventTeamScore
not have two plugins in plugins.ini
the original code and this. |
Re: [error] duplication EventTeamScore
The message is sent two times, one time for each team. Doing a simple test you could figure this out yourself.
PHP Code:
Code:
TEAMSCORE=CT |
Re: [error] duplication EventTeamScore
thank you...
|
Re: [error] duplication EventTeamScore
still there is duplication ...
|
Re: [error] duplication EventTeamScore
You can do something like this, which will make it only fire your code once. Just be aware that you will not get the other teams score info. Whichever team the message is sent for first is the only one you will get.
PHP Code:
Try something like this. In this case, the code where you see '//Code for CT ' and '//Code for T' will only be fired one time. Anything outside of the switch statement will run twice. PHP Code:
|
Re: [error] duplication EventTeamScore
sometimes it runs right, but when changing map, there begins another mix and mix it at the end of the this error.
I will test this other code. |
| All times are GMT -4. The time now is 17:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.