Here is the glitching part of the plugin I am editing:
Code:
new _chserv_mapcycle
Code:
_chserv_mapcycle = register_cvar ( "fps_serverdir", "27021" )
Code:
formatex ( filename, sizeof ( filename ) - 1, "%s/maps/%s/mpv/maprefix.ini", g_configsdir, get_pcvar_num(_chserv_mapcycle) )
L 10/25/2014 - 06

9:14: [mapsnew.amxx] File "addons/amxmodx/configs/maps/▒;
L 10/25/2014 - 06

9:14: [mapsnew.amxx] File "addons/amxmodx/configs/maps/▒;
Any ideas why the get_pcvar_num returns the strange encoded string ?
Fixed it: instead of the 2nd %s I used %d