View Single Post
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 08-31-2021 , 03:16   Re: Zombie Plague Special 4.4 [Final Beta] (05 December 2020)
Reply With Quote #127

Quote:
Originally Posted by Sh0pke View Post
I put everything un-edited, up-to-date files in place and I still have a problem. The thing is, everything in lang file is written with caps-on, like ITEM_FIRE, but this one is just 'ni' which is nowhere to be found.
This is the problem of this part
PHP Code:
            default: {                
                if(
item >= EXTRA_WEAPONS_STARTID && item <= EXTRAS_CUSTOM_STARTID-&& !get_pcvar_num(cvar_extraweapons)) continue;

                if(
ArrayGetCell(g_extraitem_name_by_langitem)) {
                    
ArrayGetString(g_extraitem_lang_keyitembuffercharsmax(buffer))
                    
formatex(buffercharsmax(buffer), "%L"idbuffer)
                }
                else 
ArrayGetString(g_extraitem_nameitembuffercharsmax(buffer))
            } 
I'm probably wrong
But this is the temporary solution
--->
PHP Code:
            default: {                
                if(
item >= EXTRA_WEAPONS_STARTID && item <= EXTRAS_CUSTOM_STARTID-&& !get_pcvar_num(cvar_extraweapons)) continue;
                
ArrayGetString(g_extraitem_nameitembuffercharsmax(buffer))
            } 
__________________

Last edited by amirwolf; 08-31-2021 at 03:18.
amirwolf is offline