View Single Post
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 04-15-2013 , 08:36   Re: UltimatePlugin v1.0.0 (15th Apr 2013) - tonykaram1993
Reply With Quote #10

Sounds good.
Nice to see something of this size actually being worked on.

I haven't taken a look at the code but looking at the CVars it may be smart to have one CVar rather than two when you want to have 1 for the amount and 1 for enable/disable.
For example:
Code:
// Enable or disable automatically restarting the round
// after map change or server start
// Values: 0 | 1
// Default: 1
up_autorr "1"

// Set the delay to automatically restart the round after map
// change or server start
// Note: up_autorr must be 1 for this to take effect
// Default: 45
up_autorr_delay "45"
This could be just
Code:
// Set the delay to automatically restart the round after map
// change or server start
// Note: Disabled if 0.
// Default: 45
up_autorr "45"
__________________

Last edited by DarkGod; 04-15-2013 at 08:37.
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod