@Serj:
nice plugin you wrote

. But it depends on AMX's player informations which is broken if you use AMX and bots at the same time. After a few player connects and disconnects the numbers will get wrong. In the worst case your server fills up with bots and no human can join afterwards.
You may take a look at my plugins how I solved this problem:
http://www.cs4us.de ("Up-/Download" section)