Raised This Month: $ Target: $400
 0% 

Get all name from a players.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dFF
sıɹɹoɥɔ ʞɔnu
Join Date: Oct 2009
Old 03-09-2010 , 09:46   Get all name from a players.
Reply With Quote #1

PHP Code:

public plugin_init()
{
    
g_maxplayers get_maxplayers()
    
set_task1.0"test"___"b" )
}

public 
test()
{
    new 
count
    
    
for( new 1<= g_maxplayersi++ ) 
    {
        if( !
is_user_alive] || !cs_get_user_team] != CS_TEAM_T )
            continue
        
        
count++
        new 
name32 ]
        
get_user_nameiname31 )
        
        
set_hudmessage255000.00.1506.012.0 )
        
show_hudmessage0"Ts players:^n%d. %s^n"countname )
    }

What the problem ?
dFF 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 08:48.


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