|
Author
|
Message
|
|
Junior Member
|

06-25-2012
, 23:39
[Multilingual] Need help making plugin multi-language
|
#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?
|
|
|
|