Raised This Month: $ Target: $400
 0% 

How to get the names of the players terrorists?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-04-2010 , 16:37   Re: How to get the names of the players terrorists?
Reply With Quote #4

untested
Code:
new szNames[ 32 ][ 33 ]; new iNum = gettts( szNames ); gettts( arrPlayers[][] ) {      static iTs, id      iTs = 0        for (id = 1; id <= g_maxplayers; id++)      {           if (is_user_connected(id))           {                if (fm_get_user_team(id) == CS_TEAM_T)                {                     get_user_name( id , arrPlayers[ iTs++ ] , 32 );                }           }      }      return iTs; }
__________________

Last edited by Bugsy; 02-04-2010 at 16:43.
Bugsy 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 07:28.


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