Hello. I need help with formatex or format for my menu. Wo, when u prees the models key, it displays the models from the ini, but the problem is that it displays the whole line. I would like it to only display g_line_model and not also g_line_skins. They're separated by "" so like that : "penguin_r" "10" , for example.In penguin_r case, I would like the menu to only display penguin_r and not "penguin_r" "10".
Code:
for (new i; (i < file_size(conffile_model, 1)); i++)
{
read_file(conffile_model, i, g_model_num, 127, leng)
menu_additem(menu_model, g_model_num, "", 0);
}
This script is sued to display the models in the menu, but it still used the old read_file system, because I am more used to it that the enw one, which lacks some things like like,text and length.
Thanks!