Raised This Month: $ Target: $400
 0% 

Crashing the server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Diegorkable
Veteran Member
Join Date: Jun 2011
Old 08-04-2011 , 18:22   Re: Crashing the server
Reply With Quote #1

Instead, I could just add that if get_maxplayers == 0 ill return plugin_handled, hunter-digital.

but anyways, i have the 'enough' variable that is responsible for it, doesnt it work?

Last edited by Diegorkable; 08-04-2011 at 18:24.
Diegorkable is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-04-2011 , 19:06   Re: Crashing the server
Reply With Quote #2

That makes no sense... get_maxplayers() doesn't change and surely can't be 0.

And like I said, even if you limit the loops to, let's say, the total number of players, it can't guarantee you'll pick every player and you can miss out players... so listen and use the method from that thread to pick random players.
__________________
Hunter-Digital is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:30.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode