AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   RoundCron (https://forums.alliedmods.net/showthread.php?t=65619)

bawitdaba 01-13-2008 00:54

RoundCron
 
2 Attachment(s)
CONVars: sm_roundcron 1-On / 0-Off (Defaults to 1)
Configs:
Normal round configs are stored in cstrike\cfg\rounds\round#.cfg
Second to last round: cstrike\cfg\rounds\2ndtolastround.cfg
Last Playable Round: cstrike\cfg\rounds\lastround.cfg
Scoreboard after map ends: cstrike\cfg\rounds\scoreboard.cfg

Designed for CSS servers that use mp_roundsmax (should work based on timelimit too) This plug-in executes a cfg from "rounds\round#.cfg" based on the current round when a round starts.

Why would you need this ?
Maybe you want a knife or pistol round at some point like the 2nd to last round, you could make a cfg for this and have it auto launched. Or maybe you want to give everyone a bunch of cash or guns half way through the map. There is endless possibilities for this mod as its all cfg based.

Version Bump - 1.2:
Cleaned up code a bit
Added configs for lastround.cfg, 2ndtolastround.cfg, and scoreboard.cfg. Note: mp_maxrounds must be used for this as it uses -/+ 1 off that value.
Added mp_maxrounds checking every round for map extend support.

Version Bump - 1.1:
Changes - Plugin Actually works now thanks to massive help from liam and pred. Thanks a bunch.

Future Changes:
If a round#.cfg doesn't exist don't attempt to launch it, avoiding "Couldn't find round#.cfg" in console.


- bawitdaba

pRED* 01-13-2008 01:34

Re: RoundCron
 
You don't need to check if the handle is invalid and then attempt to run FindConVar - CreateConVar does this automatically for you.

Your event stuff is completely wrong.
Have a good read of this : http://wiki.alliedmods.net/Events_%2...d_Scripting%29

bawitdaba 01-13-2008 05:10

Re: RoundCron
 
Quote:

Originally Posted by pRED* (Post 573443)
You don't need to check if the handle is invalid and then attempt to run FindConVar - CreateConVar does this automatically for you.

Your event stuff is completely wrong.
Have a good read of this : http://wiki.alliedmods.net/Events_%2...d_Scripting%29

thanks for the help dude, couldn't have gotten this working without you :P

Gently 04-06-2008 22:01

Re: RoundCron
 
could this be used as a warmup with unlimited nades. that would be sweet for my needs...how?

ottobohn 04-08-2008 00:54

Re: RoundCron
 
You've inspired me to create a plugin that plays a sound on round start and based on player freeze time.

Otto

MoggieX 05-24-2008 11:04

Re: RoundCron
 
heya,

Unsure why this plugin was never moved to 'Approved' as we've been using a modified version of this for around two months without a single issue.

Matt

FlyingMongoose 06-15-2008 01:40

Re: RoundCron
 
Approved now :)

MoggieX 06-15-2008 07:21

Re: RoundCron
 
Quote:

Originally Posted by FlyingMongoose (Post 639078)
Approved now :)

Cheers, this one and the other cron plugin are leathal additions!

Matt

GriMz 06-30-2008 16:53

Re: RoundCron
 
is this capable of broadcasting a message that only a certain weapon will be used that round?

if so how would you set that up?

Arcano 07-12-2008 09:36

Re: RoundCron
 
i would first do the weapon restrictions then i would display a message in the center of the screen like "knife round" or something of that nature


sm_restrict weapon
sm_restrict weapon
sm_restrict weapon
sm_csay "Knife Round!"


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

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