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 filename[ 164 ];
new buffer[ 164 ];
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
get_configsdir(filename, 164);
format(filename, 164, "%s/matchmap.ini", filename);
}
public plugin_cfg()
{
if( file_exists( filename ) )
{
new open = fopen( filename, "rt");
while( !feof( open ) )
{
fgets( open, buffer, charsmax(buffer));
trim(buffer);
}
}
}