Thread: Speed Meter
View Single Post
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 03-09-2010 , 01:38   Re: Speed Meter
Reply With Quote #5

This is a nice idea, could think about adding a feature that announces the fastest player for the round

Couple suggestions before approving:
  • Take a look at AutoExecConfig. Try calling that right after you create your cvars. This way people don't have to create their own config files to change cvars.
  • 'g_MaxClients' can be replaced with the dynamic variable 'MaxClients' set by SM's core. GetMaxClients will be deprecated:
    Quote:
    Originally Posted by clients.inc
    This function will be deprecated in a future release. Use the MaxClients variable instead.
__________________
Greyscale is offline