View Single Post
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 09-11-2009 , 08:42   Re: Botslayvote v1.1
Reply With Quote #2

Instead of

Code:
new playersConnected = GetMaxClients();
you can just use the dynamic variable MaxClients in your loops.

Code:
ServerCommand("sm_votebotslay");
That's a bad way to run it, since the command is in your own plugin anyway, you should make a function votebotslay, and execute that instead.

I hope you gonna change those things I mentioned, approved

Greetings ~Berni
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline