View Single Post
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-18-2017 , 18:30   Re: [Help] Get total players
Reply With Quote #8

how about this?

PHP Code:

get_playersnum_flags
(const flags[]="ch", const team[]="")
/* flags a=get alive players only || b=get dead players only || e=include team(use the team parameter) || c=don't include bots || h=don't include HLTV */
        
new players[32],pnum;
        
get_players(players,pnum,flags,team// check out more flags in the documentation (amxmodx.inc) 
        
return pnum;

__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 08-18-2017 at 18:34.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh