Raised This Month: $ Target: $400
 0% 

Solved Format HELP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 03-02-2017 , 05:44   Format HELP
Reply With Quote #1

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!

Last edited by Bugsy; 03-03-2017 at 20:50.
DarthMan is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode