Raised This Month: $ Target: $400
 0% 

[Multilingual] Need help making plugin multi-language


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DamnInside
Junior Member
Join Date: Jun 2012
Old 06-25-2012 , 23:39   [Multilingual] Need help making plugin multi-language
Reply With Quote #1

Hey guys I'm new into coding and tried to make plugin Multi-Language. Ofcourse I failed to make it multilingual so I need little help.

There's a line :

[Not edited]

ShowSyncHudMsg(id, g_SyncHud, "%s%s", (g_Mode == 0 ? "" : hud_tag), mode_names[g_Mode])

This line shows Current Mode : Normal Infection

[Edited]

ShowSyncHudMsg(id, g_SyncHud, "%s%s", (g_Mode == 0 ? "" : "%L", LANG_PLAYER, "CM_HUD_TAG"), mode_names[g_Mode])

When I compile and run server it shows CM_HUD_TAGNormal Infection
Can anyone post an example or fix this line to make it read from the dictionary file?
DamnInside 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 06:17.


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