Why when I type /medals it kicks me from the server and writes : Reliable channel overflow ?
PHP Code:
register_clcmd("say /medals","show_medals_info");
PHP Code:
public show_medals_info(id)
{
if ( !is_user_connected( id ) )
{
return PLUGIN_HANDLED;
}
static configdir[128];
get_configsdir( configdir, charsmax( configdir ) );
formatex ( configdir, charsmax( configdir ), "%s/gunxpmod/gunxpmod_medals.html", configdir );
if ( !file_exists( configdir ) )
{
log_amx ( "Can't find gunxpmod_medals.html, please check your gunxpmod configs folder!" );
return PLUGIN_CONTINUE;
}
// Let us show the player the motd
show_motd ( id, configdir, "GunXpMod Medals" );
return PLUGIN_CONTINUE;
}