[New style menu] +1 will appear [}]
Hello Allied modders!
Basically i noticed that if there is somewhere in menu text +1 it will be [}] in the game. Is there any way to fix this? And as always, thanks! |
Re: [New style menu] +1 will appear [}]
Show some code or explain a different way plz
|
Re: [New style menu] +1 will appear [}]
alright...
this is what i see in notepad PHP Code:
Quote:
if i but something between + and 1 then its fine, also with ohter numbers it wont do that. |
Re: [New style menu] +1 will appear [}]
You compiled locally ?
|
Re: [New style menu] +1 will appear [}]
Quote:
PHP Code:
|
Re: [New style menu] +1 will appear [}]
I thought that ML coding was supposed to be this way:
Code:
Code:
LANG_KEY = \wblah blah +%dStatement from AMXx documentation i believe: 1. "%L" tells the string formatter to start a language translation. "%L" must always occur by itself like it is here. Will it display the same result in a console window instead of an ingame menu? I can't reproduce the problem. Here's my code and result: Code:
Code:
[en]What are you doing differently? |
Re: [New style menu] +1 will appear [}]
You have \w included in ML file.
|
Re: [New style menu] +1 will appear [}]
It happens in old style menus too. When you display in menu text +<something> it will be replaced with [<key>], if +<something> is a command bound to that <key>. For example if you try to display "+use" it will be replaced with "[E]" (assuming that you have "bind e +use" in your config).
|
Re: [New style menu] +1 will appear [}]
This is funny.
Nice to know. |
Re: [New style menu] +1 will appear [}]
Quote:
@Sylvester: I don't want to go off-topic, but how does it detect that at all? |
| All times are GMT -4. The time now is 06:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.