Raised This Month: $ Target: $400
 0% 

[HELP] Map Menu [ TUT ]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 05-14-2018 , 22:14   Re: [HELP] Map Menu [ TUT ]
Reply With Quote #1

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
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 04:36.


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