Random C4 Timer
15 Attachment(s)
Random C4 Timer by SweatyBanana.
I made this plugin from scratch from one in the unapproved section. The one in the unapproved section did not work in an efficient way and I decided to change it up a bit. This plugin randomly changes the c4 timer at roundstart. There are 2 cvars to limit how long the random timers limits go. There is also a cvar for anouncements. It is not mod specific restricted by a module needed, but as far as I know, CounterStrike is the only mod with mp_c4timer. This plugin has been tested and is fully functional. CVARS:
Installation:
Currently Supported Languages with Credits:RC4.amxx English - SweatyBanana Spanish - KylixMynxAltoLAG Hungarian - Dav3 Swedish - Fr3ak0ut / Obbin German - Edgar Polish - trawiator 1337 §þ3Ä|< - Twilight Suzuka VERSIONS: v1.0 - Original versionIf you want to see this plugin in action 24/7, check it out! http://www.game-monitor.com/server-s....215:27015.png |
Re: Random C4 Timer
lolz nice plugin sweaty keep it up
|
Re: Random C4 Timer
Thank you..I just updated it with new anouncements..
Check the original post for details. |
Re: Random C4 Timer
yah, nice plugin Sweaty :)
|
Re: Random C4 Timer
Not being mean but:
1) Why the cvar flags...I don't see why you need them...maybe the unlogged one 2) Why not use pcvars? |
Re: Random C4 Timer
PCVARS added, cvar flags removed except unlogged.
|
Re: Random C4 Timer
I strongly suggest you change the name of your CVARS.
Code:
You should also store the original mp_c4timer value and then restore it when your plugin ends. Let me know if I need to explain why. |
Re: Random C4 Timer
An additional feature that might be nice is having an option to specify who gets what message. For instance, the terrorists might radio to one another what the specific timer is but not share any info with the CTs.
|
Re: Random C4 Timer
Thank you for your feedback..
Do you think that if I simply specified another cvar to reset the C4 to, it would be ok? |
Re: Random C4 Timer
You mean to optionally reset the C4 timer at the end of the plugin? I would think that it should be hardcoded. Rule of thumb when programming, if you change a global variable make sure to reset it to it's original value when you're done with it. Rationale being that you don't know that the user will have done something to make it reset.
|
All times are GMT -4. The time now is 11:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.