Code: Select all
if size_str_s and player_inv_e then
local theme_str = new_form:sub(size_str_s, player_inv_e)
new_form = new_form:gsub(theme_str, "") -- Doesn`t replace 'theme_str' string to '' empty one.
end
Code: Select all
size[13, 9.1]tabheader[0,0;sfinv_nav_tabs;Crafting,(T@creative)AllE,(T@creative)NodesE,(T@creative)ToolsE,(T@creative)ItemsE;2;true;false] image[5,4.7;1,1;gui_hb_bg.png]
image[6,4.7;1,1;gui_hb_bg.png]
image[7,4.7;1,1;gui_hb_bg.png]
image[8,4.7;1,1;gui_hb_bg.png]
image[9,4.7;1,1;gui_hb_bg.png]
image[10,4.7;1,1;gui_hb_bg.png]
image[11,4.7;1,1;gui_hb_bg.png]
image[12,4.7;1,1;gui_hb_bg.png]
list[current_player;main;5,4.7;8,1;]
list[current_player;main;5,5.85;8,3;8]