Thread: [Solved] % char in menu
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 09-16-2018 , 16:11   Re: % char in menu
Reply With Quote #6

The code that you actually posted shouldn't have any issues because that function doesn't do any formatting. If it really is having that issue, it is a bug. If you are using a function that is actually formatting a string (e.g. format() or formatex()) then %% is the proper solution.

So, if "menu_additem( hMenu, "test %", "", 0 );" doesn't work, you need to report it as a bug.

If you are using format or formatex, you should update your original post to show that because as it stands this thread doesn't make any sense.
__________________

Last edited by fysiks; 09-16-2018 at 16:13.
fysiks is offline