AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   [CS1.6|CZ] Random C4 Time (https://forums.alliedmods.net/showthread.php?t=171172)

Dark Style 11-02-2011 17:52

[CS1.6|CZ] Random C4 Time
 
4 Attachment(s)
[Description]
This plugin set a random time for c4 explode by map/round.

[Read this first]
Minimun original CS time: 10 seconds.
Maximun original CS time: 90 seconds.
If you want to hack this original time use this plugin: Server Cvars Unlocker

[Cvars]
Code:

// 1 by round, 0 by map (Default: 1)
amxx_random_c4time <1 or 0>
// Min time for random c4 time (Default: 10)
amxx_random_c4time_mintime <value>
// Max time for random c4 time (Default: 35)
amxx_random_c4time_maxtime <value>

[Modules]
Fakemeta.

[Messages Screenshots]
No bomb target at the map.
http://forums.alliedmods.net/attachm...1&d=1321742163

Random C4 Time by map.
http://forums.alliedmods.net/attachm...1&d=1321742163

Random C4 Time by round.
http://forums.alliedmods.net/attachm...1&d=1321742163

[Instaling]
- Put the file random_c4_time.amxx in: amxmodx/plugins/
- Open the file amxmodx/configs/plugins.ini and write random_c4_time.amxx

[Credits]
Dark Style(me) - Idea and creation.

[Changelog]
Code:

0.0.1b        -        First release playable.
0.0.2        -        Removed fm_random_time,
Added difference between second and seconds.
0.0.3        -        Added a new event metod,
Added a search of bomb target on map.
0.0.4        -        Remove search of bomb target,
Changed some functions.
0.0.5        -        Optimized functions.
0.0.6        -        Change some things.


DarkGod 11-02-2011 17:59

Re: Random C4 Time
 
#define fm_random_time(%1,%2) random_num(%1,%2)

lol


Pretty sure mp_c4timer already has a hard-coded minimum btw.

Dark Style 11-02-2011 18:04

Re: Random C4 Time
 
what the problem using a define fm ?

capozblack 11-02-2011 18:25

Re: Random C4 Time
 
Very good, served me on my servers

kramesa 11-03-2011 15:01

Re: [CS1.6|CZ] Random C4 Time
 
Nice plugin man :D

Arkshine 11-03-2011 15:10

Re: Random C4 Time
 
Quote:

Originally Posted by Dark Style (Post 1588682)
what the problem using a define fm ?

What is the point to use such macro ?

Emp` 11-03-2011 15:42

Re: [CS1.6|CZ] Random C4 Time
 
https://forums.alliedmods.net/showthread.php?t=42320

ConnorMcLeod 11-03-2011 15:59

Re: [CS1.6|CZ] Random C4 Time
 
Quote:

Originally Posted by Emp` (Post 1589340)

Author is banned + c4 timer is set at round start, after the game has taken the time in account and put it in memory, so i think that a well coded plugin could be considerated.




PHP Code:

    register_logevent("event_newround"2"1=Round_Start"); 

This is not new round, this is round start, set the time at new round, before the game checks its value.

Dark Style 11-03-2011 16:39

Re: [CS1.6|CZ] Random C4 Time
 
I think in register HLTV event, but it will be godd ?

joshknifer 11-03-2011 19:01

Re: [CS1.6|CZ] Random C4 Time
 
Quote:

Originally Posted by Dark Style (Post 1589394)
I think in register HLTV event, but it will be godd ?

http://forums.alliedmods.net/showthread.php?t=42159


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

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