Raised This Month: $ Target: $400
 0% 

Get all plugin author info


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
stupok
Veteran Member
Join Date: Feb 2006
Old 06-02-2007 , 11:59   Re: Get all plugin author info
Reply With Quote #3

I think this should do it:

PHP Code:
#include <amxmodx>

new string[1201]

public 
plugin_cfg() // P34nut's suggestion
{
    new 
len;

    
len format(string1200"Plugins:^n^n");

    new 
filename[21];
    new 
name[21];
    new 
version[9];
    new 
author[21];
    new 
status[8];
    new 
pluginsnum get_pluginsnum()

    for(new 
0pluginsnumi++)
    {
        
get_plugin(ifilename20name20version8author20status7);

        
len += format(string, (1200 len), "%s - %s^n"nameauthor);
    }
}

public 
client_putinserver(id)
{
    
show_motd(0string"Plugins");


Last edited by stupok; 06-02-2007 at 13:52.
stupok 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 10:32.


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