Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "naven"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
// Add your code here...
}
public a_function()
{
new szMapname[64];
get_mapname(szMapname, 63)
if(containi(szMapname, "awp"))//I think that returns -1 on success so you want to add your code after else{
{
}
else
{
}
}
__________________