[Help] Teamscore event
Code:
|
Re: [Help] Teamscore event
Where are you assigning g_id a value?
|
Re: [Help] Teamscore event
Code:
|
Re: [Help] Teamscore event
g_id is not found in that block of code
|
Re: [Help] Teamscore event
Quote:
It was g_qid only. |
Re: [Help] Teamscore event
Then you set your system up incorrectly as as you are passing 1 or 2 as the winner, so only 2nd or 3rd person ready will ever be shown as the winner, even if they didn't win.
|
Re: [Help] Teamscore event
PHP Code:
|
Re: [Help] Teamscore event
TeamScore is always sent twice, the first time CT Score is passed, the second time Ts.
So you have to wait for Ts score in order to perform your checks. Also, don't return PLUGIN_HANDLED in an event callback, it has no effect. just use return with no value, or use return PLUGIN_CONTINUE, in your code, no return was needed, i've added one because of the first thing i told you. PHP Code:
|
| All times are GMT -4. The time now is 15:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.