#include <amxmodx>
#include <reapi>
public plugin_init() {
new const sName[] = "test";
register_plugin("test", "rz 0.1", .author = sName);
new
sCurrentMap[MAX_NAME_LENGTH +1],
sMod[MAX_NAME_LENGTH +1];
get_mapname(sCurrentMap, MAX_NAME_LENGTH);
new simbol = copyc(sMod, MAX_NAME_LENGTH, sCurrentMap, "_");
if(simbol) {
new sNameServer[MAX_NAME_LENGTH +1];
get_member_game(m_GameDesc, sNameServer, MAX_NAME_LENGTH);
add(sMod, charsmax(sMod), fmt("_%s", sNameServer));
set_member_game(m_GameDesc, sMod);
}
}