Raised This Month: $ Target: $400
 0% 

[NMRiH] Give Weapons v1.1.6 (22 Aug 2014)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
khanhtruong777
Junior Member
Join Date: Apr 2013
Location: Vietnam
Old 01-22-2014 , 11:34   Re: [NMRiH] Give Weapons v1.1.1 (21 Jan 2014)
Reply With Quote #11

Quote:
Originally Posted by Leonardo View Post
*updated without version bump.
I'm sorry, but it's not fixed. Do you think the problem is this? IMHO, there's no "name" or "name_short" attribute in the data file, so the item name got both the prefix and suffix.
Code:
                if( !( iFlags & FINDITEM_NO_ITEMNAME ) )
                {
                    KvGetString( hItemsData, "name", szItemName, iItemNameLen, "" );
                    if( !strlen( szItemName ) )
                        Format( szItemName, iItemNameLen, "#Weapon_%s", szItemClass );
                    
                    KvGetString( hItemsData, "name_short", szItemNameShort, iItemNameShortLen, "" );
                    if( !strlen( szItemNameShort ) )
                        Format( szItemNameShort, iItemNameShortLen, "%s_short", szItemName );
                }
__________________

khanhtruong777 is offline
 



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 02:14.


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