Raised This Month: $ Target: $400
 0% 

Lang file problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GasmoN
Member
Join Date: Jul 2014
Old 02-14-2017 , 11:53   Lang file problem
Reply With Quote #1

When I select extra item with multinagluag support (lang file), text will be displayed in english, but if i select same extra item serveral times, sometimes text will be displayed in other language written in lang file, why?

Example of lang file
[en]
TEXT = English text

[es]
TEXT = Text that appears randomly from other language in lang file

here is the example of extra item when it's selected
PHP Code:
public zp_fw_items_select_post(iditemidignorecost)
{
    if(
itemid != itemid_dmg)
    return;
    
    
ColorChat(idCHATCOLOR_BLUE"$g%s$t %L"PREFIXLANG_PLAYER"R_BOUGHT"get_pcvar_float(DamageTime))
    
ImaDMG[id] = true
    set_task
(get_pcvar_float(DamageTime), "RemoveDamageItem"id)


GasmoN 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 20:26.


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