Raised This Month: $ Target: $400
 0% 

Random C4 Timer


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Event Related        Approver:   GHW_Chronic (70)
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 07-31-2006 , 01:49   Random C4 Timer
Reply With Quote #1

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:
  • rc4_announce [DEFAULT: 4] - You can add the below numbers up.
    • 0: Do not anounce anything.
    • 1: Announce a personal CT message.
    • 2: Announce a personal T message.
    • 4: Announce a general change with value.
    • 8: Announce a general change with no value.
  • rc4_mintime [DEFAULT: 20] (minimum random time the c4 can be)
  • rc4_maxtime [DEFAULT: 35] (maximum random time the c4 can be)
MODULES:
  • FakeMeta
The reason I used fakemeta is because it is one of the only ways that you can really find out if the map is a de_ map..Since there is no way to tell from the name of a map, I used the fakemeta function to find out if there was a bombsite entity.

Installation:
  1. Click get plugin.
  2. Put RC4.amxx in your addons/amxmodx/plugins/ folder.
  3. put rc4dict.txt in the addons/amxmodx/data/lang/ folder.
  4. Add a line to addons/amxmodx/configs/plugins.ini like so:
RC4.amxx


Currently Supported Languages with Credits:
English - SweatyBanana
Spanish - KylixMynxAltoLAG
Hungarian -
Dav3
Swedish - Fr3ak0ut / Obbin
German - Edgar
Polish - trawiator
1337 §þ3Ä|< - Twilight Suzuka
VERSIONS:
v1.0 - Original version
v2.0 - Updated anouncements
v3.0 - pCvars and optimization
v4.0 - fixed displaying message
v5.0 - Added multilingual support and changed to after freezetime
Code:
v6.0
-Fixed a bug that made the server crash
-reset c4 on mapchange
-blocked console output
-Fixed displaying to teams
If you want to see this plugin in action 24/7, check it out!
Attached Files
File Type: txt rc4dict.txt (2.4 KB, 12491 views)
File Type: sma Get Plugin or Get Source (RC4.sma - 25795 views - 2.2 KB)

Last edited by SweatyBanana; 10-12-2006 at 17:19.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode