Raised This Month: $ Target: $400
 0% 

asdasd


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 03-21-2014 , 16:09   Re: GetPlayers Bugging
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
Never use get_maxplayers() or get_playersnum() in or as part of a for loop. Also, if a user is alive, they are connected (the is_user_alive() check already checks if they are connnected).

Anyways, you should use the get_players() native. This will already give you only players that are connected.

Also, your function doesn't do anything and your description of what you want makes no sense. You need to explain in detail what you are wanting (something that can be understood).

@Baws, wow, that is just horrible. Stop trying to help people when you have no idea of what you are doing.
shh, its only working bool: no public...
Kellan123 is offline
 



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 05:54.


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