uhmm you could try using the playerslimitermax project using the packet.dat file attached to this post:
http://aluigi.org/patches.htm#playerslimiternot that it's valid only for samp 0.3c (server without password) so will be necessary to update it for future versions