Menu Number
Hello guys,
I was editing zombie classess of basebuilder mod and i was want to change admin access to level access and i did it but i have something wrong, When i checked it the menu didn't show all classes and i said the problem in number of the menu and i changed it from menu[512] to menu[2048] but i still have the same problem so can someone tell me how to fix that or where is the problem Oo The problem https://i.ibb.co/TTH6SfD/51.png Orginal menu with admin access PHP Code:
PHP Code:
|
Re: Menu Number
The maximum amount of character that a menu can display is 512. You cannot go above this limit. Color symbols are counted too and you have a lot of them.
From amxconst.inc: Code:
And no, changing this value in amxconst.inc won't allow you to exceed it. This is hardcoded in the game itself. |
Re: Menu Number
Quote:
|
Re: Menu Number
Reduce the number of characters you have in the menu. You can start by removing the ' in the square brackets because that's not how English works.
|
Re: Menu Number
Remove keyword zombie and free from The menu
|
Re: Menu Number
@OciXcrom - I did it before in zombie plague mod and worked perfectly without anyproblem , i think the problem in something in that menu
@Natsheh - Can you give me example |
Re: Menu Number
I changed it from 512 to 2048 and keys from 511 to 2047 and i still have the same thing
PHP Code:
|
Re: Menu Number
Quote:
|
Re: Menu Number
Quote:
https://i.ibb.co/q15Q6XQ/41.png |
Re: Menu Number
There's no one know how to fix it !!!! ?
|
| All times are GMT -4. The time now is 17:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.