[SOLVED]menu multi lang. problem
hi,
i wanted to make my welcome menu ML and i get following errors : Code:
L 02/06/2010 - 04:00:28: String formatted incorrectly - parameter 4 (total 4)Code:
new menuText[512]Code:
new menuText[512]Code:
MENU_1 = \rJailmod Freeday Manager \d1.0.2b by \rOne^nsorry but its my first time with ML |
Re: menu multi lang. problem
Quote:
|
Re: menu multi lang. problem
the same :(
without \r or \d or ^n is the same like with.. |
Re: menu multi lang. problem
Quote:
@ One: when using ML formatting, you need to include an id for the language. Before the ML key ("MENU_1") you can either specify a player id or LANG_SERVER. (for some other natives you can use LANG_PLAYER, eg. client_print) So your code should either be: Code:
new len = formatex(menuText,511,"%L",LANG_SERVER,"MENU_1")Code:
new len = formatex(menuText,511,"%L",id,"MENU_1") |
Re: menu multi lang. problem
Quote:
@One, before posting go back and read a simple tutorial and you probably would have got it working on your own. |
Re: menu multi lang. problem
yay :P ty @ both :P
its working now :P for other when anyone needs the right code : PHP Code:
|
| All times are GMT -4. The time now is 07:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.