You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, if you want to use AddMenuItem or InsertMenuItem with format parameters you have to use Format/FormatEx first. Since menus are commonly displayed in different languages and are also used to display custom values and lists, formatting being built into the functions seems like a great feature. There is a sourcemod plugin that creates a custom function just avoid formatting everything manually before using AddMenuItem - AddTranslatedMenuItem in funcommands.sp.
Describe the solution you'd like
Option A - update current functions and formatting support. This shouldnt break any code as formatting parameters arent required
Option B - create secondary functions with formatting support
Describe alternatives you've considered
You have to manually format before each AddMenuItem/InsertMenuItem or create custom function for it.
Additional context
Functions are located in menus.inc
SetTitle for the menus already includes formatting support.
Help us help you
Is your feature request related to a problem? Please describe.
Currently, if you want to use AddMenuItem or InsertMenuItem with format parameters you have to use Format/FormatEx first. Since menus are commonly displayed in different languages and are also used to display custom values and lists, formatting being built into the functions seems like a great feature. There is a sourcemod plugin that creates a custom function just avoid formatting everything manually before using AddMenuItem - AddTranslatedMenuItem in funcommands.sp.
Describe the solution you'd like
Option A - update current functions and formatting support. This shouldnt break any code as formatting parameters arent required
Option B - create secondary functions with formatting support
Describe alternatives you've considered
You have to manually format before each AddMenuItem/InsertMenuItem or create custom function for it.
Additional context
Functions are located in menus.inc
SetTitle for the menus already includes formatting support.