Raised This Month: $51 Target: $400
 12% 

Solved TranslationPhraseExists not work


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
gubka
Veteran Member
Join Date: Jan 2012
Location: Russia
Old 08-30-2018 , 20:02   TranslationPhraseExists not work
Reply With Quote #1

Why that new function dont really check the string existance?

I have

PHP Code:
    "skull1 info" // Hint
    
{
        
"en"            "Switch <font color='#E62E00'>mode</font> on the right mouse button"
    

PHP Code:
// Validate translation
        
if(!TranslationPhraseExists(sPathWeapons))
        {
            
// Log weapon error
            
LogEvent(falseLogType_ErrorLOG_CORE_EVENTSLogModule_Weapons"Config Validation""Couldn't cache weapon name: \"%s\" (check translation file)"sPathWeapons);
        } 
And i have the last version of source and metamod ? Is it sourcemod problem?

Quote:
L 08/31/2018 - 0218: [zbm3_core.smx] [Weapons] [Native Validation] Couldn't cache weapon info: "skull1 info" (check translation file)
Oh i found problem in the transation file, i had wrong block, so it solved
__________________

Last edited by gubka; 08-30-2018 at 20:32.
gubka is offline
Send a message via ICQ to gubka
Reply



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


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