View Single Post
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 05-14-2018 , 22:14   Re: [HELP] Map Menu [ TUT ]
Reply With Quote #5

is this code will read this file ?? and how to display this in a menu :/ i want to use arry bt cant under stand how....

PHP Code:
/* Sublime AMXX Editor v2.2 */

#include <amxmodx>
#include <amxmisc>
// #include <cstrike>
// #include <engine>
// #include <fakemeta>
// #include <hamsandwich>
// #include <fun>
// #include <xs>
// #include <sqlx>

#define PLUGIN  "New Plug-In"
#define VERSION "1.0"
#define AUTHOR  "Author"

new filename164 ];
new 
buffer164 ];

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    
get_configsdir(filename164);
    
format(filename164"%s/matchmap.ini"filename);
}

public 
plugin_cfg()
{
    if( 
file_existsfilename ) )
    {
        new 
open fopenfilename"rt");

        while( !
feofopen ) )
        {
            
fgetsopenbuffercharsmax(buffer));
            
trim(buffer);
        }
    }

soumyadip77 is offline
Send a message via Skype™ to soumyadip77