Hi,
I’m having a small problem that I can’t seem to fix.
My menu has a button that would output a cfg that would echo something. I know how to execute it if the cfg is in the pk3 file:
But the cfg is in the mod directory. So it would output 'couldn’t exec maps.cfg
server directory:
jaymod/maps.cfg
pk3 file
ui/maps_confirm.menu
BUTTON( SUBWINDOW_X+6, SUBWINDOW_Y+SUBWINDOW_HEIGHT-24, .5*(SUBWINDOW_WIDTH-18), 18, "YES?", .3, 14, close h2o_maps_confirm ; exec "exec maps.cfg" )
My guess, it’s something really simple or it’s not possible.
Say if I’m not making sense somewhere.