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 |
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 |
Re: RoundCron
Quote:
|
Re: RoundCron
could this be used as a warmup with unlimited nades. that would be sweet for my needs...how?
|
Re: RoundCron
You've inspired me to create a plugin that plays a sound on round start and based on player freeze time.
Otto |
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 |
Re: RoundCron
Approved now :)
|
Re: RoundCron
Quote:
Matt |
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? |
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.