#include <amxmodx>
#include <reapi>
new szMapname[32], g_iRound, nextmap[32], maxrounds;
public plugin_init() {
register_plugin("[ReAPI] Round info", "1.2", "mIDnight");
RegisterHookChain(RG_CSGameRules_RestartRound, "@CSGameRules_RestartRound_Pre", .post = false);
RegisterHookChain(RG_CSGameRules_OnRoundFreezeEnd,"@CSGameRules_OnRoundFreezeEnd", .post = true);
rh_get_mapname(szMapname, charsmax(szMapname));
bind_pcvar_string(get_cvar_pointer("amx_nextmap"), nextmap, sizeof(nextmap))...