Raised This Month: $ Target: $400
 0% 

Read Players and Maxplayer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-20-2013 , 20:55   Read Players and Maxplayer
Reply With Quote #1

Hi
How i can read the amount of players that are connected in one server and maxplayers of it?
Iam not saying about the server running plugin but some other server.
Like XRedirect does on HUD message and menu.
__________________
Jhob94 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-20-2013 , 23:55   Re: Read Players and Maxplayer
Reply With Quote #2

Since you know of a plugin that uses it, why not take a look into the coding of it ... ?
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-21-2013 , 07:40   Re: Read Players and Maxplayer
Reply With Quote #3

Quote:
Originally Posted by hornet View Post
Since you know of a plugin that uses it, why not take a look into the coding of it ... ?
Code is too long, to many things for search one thing that idk what it is
__________________
Jhob94 is offline
wickedd
Veteran Member
Join Date: Nov 2009
Old 05-21-2013 , 10:29   Re: Read Players and Maxplayer
Reply With Quote #4

Search the forum, there's a tutorial.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-21-2013 , 10:36   Re: Read Players and Maxplayer
Reply With Quote #5

Found this
Well when i look to that is like when i look to XRedirect. To many things and iam just looking for simple thing for show players and maxplayers of others servers in a HUD message...
__________________

Last edited by Jhob94; 05-21-2013 at 10:54.
Jhob94 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-04-2013 , 09:36   Re: Read Players and Maxplayer
Reply With Quote #6

Bump
Anyway i read about it, but hum it have lot of stuff and i just want read players and maxplayers. And from what i saw, queries load individual the IP and Port. Iam looking for read it together.
Can someone help?
__________________
Jhob94 is offline
Clauu
Senior Member
Join Date: Feb 2008
Location: RO
Old 06-04-2013 , 09:43   Re: Read Players and Maxplayer
Reply With Quote #7

http://www.amxmodx.org/funcwiki.php?...yers&go=search for getting the maxplayers setting and http://www.amxmodx.org/funcwiki.php?...snum&go=search for users connected.
Clauu is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-04-2013 , 12:38   Re: Read Players and Maxplayer
Reply With Quote #8

Quote:
Originally Posted by Clauu View Post
Are you serious?
What about read before post? That isnt what i want, that is easy to do lol
__________________

Last edited by Jhob94; 06-04-2013 at 12:38.
Jhob94 is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 06-04-2013 , 12:49   Re: Read Players and Maxplayer
Reply With Quote #9

Code:
get_playersnum()
get_maxplayers()
__________________
hleV is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-04-2013 , 12:51   Re: Read Players and Maxplayer
Reply With Quote #10

Quote:
Originally Posted by hleV View Post
Code:
get_playersnum()
get_maxplayers()
One more that dont read all xD
__________________
Jhob94 is offline
Reply


Thread Tools
Display Modes

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 16:19.


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