Round end
Hello,
I'm currently doing a plugin for my public server. The idea of the plugin is that when a terrorist team wins, then all the CTs would die and vice-versa. The problem is, that when I'm alone in the server testing the plugin, it works great. When 2 or more people are in the server, then when CT defuses a bomb, all terrorists die but I've also got a message, that says 'All Terrorists have been killed' and when CT defuses a bomb, that message appears twice for some reason. When Terrorists plant a bomb and it exploads, then all players die and messages appear three or four times for some reason. Here's my code: Code:
|
Re: Round end
You don't have to return anything at t_win and ct_win.. And further i can't see any problems at your code. Try disabling all other plugins, a plugin might be doubling your message or bugging your silentkill.
|
Re: Round end
Quote:
|
Re: Round end
Also, i think you have some invalid characters in your print message. Could be the reason why it is printing twice, i'm not sure. Also, if you want to print to only 1 team, get the players of a certain team and print it to them.
|
Re: Round end
Quote:
|
Re: Round end
Give me your current code.
|
Re: Round end
Quote:
Code:
|
Re: Round end
I'd rather use bomb_explode and bomb_defused using csx include.
|
Re: Round end
Your code is fine.
Quote:
|
Re: Round end
But the only one which can keep the loosing team players alive tho? Except for the round end then.
|
| All times are GMT -4. The time now is 06:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.