Only 1 C4 [Strip if Multiple C4's]
Hi,
A friend's server has little bug, sometimes, more than 1 player gets C4, usually 2 and 2 C4's are planted & the bug is so rare, it happens like once in 300 rounds, hence what is causing it is difficult to catch, checking plugin by plugin. Hence, I need some plugin, which: 1. Randomly Strips C4 from all except 1, if plugin detects more than 1 C4's with message "Due to multiple C4's, C4 is stripped from you and x player will keep the C4". (Message seen by T's & Specs only). C4 Check/Detection, 3 seconds after the start of every round. OR 2. If plugin detects more than 1 C4's, strips C4 from everyone and then give 1 to any random T's after 3 seconds with message "C4 stripped from everyone because of multiple C4's" & then after 3 seconds "C4 given to x player randomly" (Message seen by T's & Specs only). C4 Check/Detection, 3 seconds after the start of every round. OR 3. Just allow only single plant with message, "C4 is already planted, you can't plant another." (Yet, would be controversial CT's guarding one and other gets planted). Or any other idea? Or any of given ideas you feel easy and best? AMXX 1.90 [5271] ReApi (instead of Orpheu) Thanks !! |
Re: Only 1 C4 [Strip if Multiple C4's]
Not tested
PHP Code:
|
Re: Only 1 C4 [Strip if Multiple C4's]
Quote:
|
Re: Only 1 C4 [Strip if Multiple C4's]
Quote:
|
Re: Only 1 C4 [Strip if Multiple C4's]
Quote:
- Check at the start of round the number of C4's. - If more than 1 - Strip C4, randomly from everyone having C4, except 1. Quote:
FAQ/Tutorial CS Bomb Scripting OR Any other way? |
Re: Only 1 C4 [Strip if Multiple C4's]
Not tested and I'm tired, so I can't guarantee it's 100%.
PHP Code:
|
Re: Only 1 C4 [Strip if Multiple C4's]
Quote:
so it should be like this. PHP Code:
|
Re: Only 1 C4 [Strip if Multiple C4's]
I can't test it rapidly since bug is rare and as I'm not scripter, so little bit what I did understand from code, if there are multiple C4's, its strips C4 from everyone (not excluding 1 random with C4), which creates another bug, no one having C4, if there are >1 C4's after this plugin, what I understand no one have C4 ... OR I understood it wrong?
TIA |
Re: Only 1 C4 [Strip if Multiple C4's]
yup you did mis-understood it, it clearly strips if someone has an extra c4.
|
Re: Only 1 C4 [Strip if Multiple C4's]
Quote:
|
| All times are GMT -4. The time now is 00:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.