AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to get current players? (https://forums.alliedmods.net/showthread.php?t=153853)

BWC_Chocolate 03-30-2011 07:04

How to get current players?
 
okay, i know get maxplayer is just use get_maxplayer(), then how to i get current players?

i wanna show (Current/MaxPlayers(Slots)) on the hudmessege. :D

SpeeDeeR 03-30-2011 07:31

Re: How to get current players?
 
http://www.amxmodx.org/funcwiki.php?go=func&id=174

BWC_Chocolate 03-30-2011 07:35

Re: How to get current players?
 
Quote:

Originally Posted by SpeeDeeR (Post 1441607)

thanx :mrgreen:

Exolent[jNr] 03-30-2011 17:47

Re: How to get current players?
 
If you only want the number of players, you should use get_playersnum().


All times are GMT -4. The time now is 14:39.

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