Raised This Month: $ Target: $400
 0% 

How to increase the number of allowed letters in the ZP menu?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Perfect Scrash
Senior Member
Join Date: Aug 2013
Location: Brazil
Old 03-14-2022 , 20:43   Re: How to increase the number of allowed letters in the ZP menu?
Reply With Quote #2

Find:
Quote:
g_extraitem_name = ArrayCreate(32, 1)
....
g_extraitem2_realname = ArrayCreate(32, 1)
g_extraitem2_name = ArrayCreate(32, 1)
Change to:
Quote:
g_extraitem_name = ArrayCreate(64, 1)
...
g_extraitem2_realname = ArrayCreate(64, 1)
g_extraitem2_name = ArrayCreate(64, 1)
After this Find:
Quote:
// Extra Items Menu
show_menu_extras(id)
{
static menuid, menu[128], item, team, buffer[32]
And Change to:
Quote:
// Extra Items Menu
show_menu_extras(id)
{
static menuid, menu[128], item, team, buffer[64]
After this find:
Quote:
// Override extra items data with our customizations
new i, buffer[32], size = ArraySize(g_extraitem2_realname)
And change to:
Quote:
// Override extra items data with our customizations
new i, buffer[64], size = ArraySize(g_extraitem2_realname)
After this find:
Quote:
// Loop through every item
static i, item_name[32]
And change to:
Quote:
// Loop through every item
static i, item_name[64]
Attached Files
File Type: sma Get Plugin or Get Source (DEFAULT_ZPA_SOURCE_CODE.sma - 63 views - 418.1 KB)
__________________
Perfect Scrash is offline
Send a message via Skype™ to Perfect Scrash
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode