Raised This Month: $ Target: $400
 0% 

[SOLVED] get_players without flags


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GalegO
Member
Join Date: May 2010
Location: Brazil
Old 11-03-2011 , 11:51   [SOLVED] get_players without flags
Reply With Quote #1

Hi, for exemple, I have this cobe below:

PHP Code:
public function()
{
        new 
playersT[32], numTplayersNum
        playersNum 
get_playersnum()
        
get_players(playersTnumT"che""TERRORIST")
        
        if ((
playersNum >= 2) && (numT == 0))
        {
            ... do 
something ...
        }

And I know the AMX MOD return wrong values when using get_players + flags, knowing this, I ask: What's the better way to do this same code without the flags?

Thanks!
__________________
Sou brasileiro e não desisto NUNCA!
I'm Brazilian and NEVER give up!

Loucademia de CZ (lcz # GalegO)
CZ CrazyAcademy
189.1.164.85:27017


Last edited by GalegO; 11-05-2011 at 15:53.
GalegO 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 14:22.


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