View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-23-2015 , 09:40   Re: [HELP] SetMenuTitle String fromatted incorrectly
Reply With Quote #5

Quote:
Originally Posted by Dkmuniz View Post
But you want to put onle handle in menu ?
Try:
Code:
SetMenuTitle(menu, "%t","Title");
Translation:
Code:
"Title"
	{
		"en" 		"Text here:"
	}
%t only works on operations that target a client.

If you want to translate the menu title for each person, you need to handle MenuAction_Display in the menu callback and use SetPanelTitle on param2. I think the Menus Step by Step wiki page has an example of this.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline