AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Multilingual] Need help making plugin multi-language (https://forums.alliedmods.net/showthread.php?t=188406)

DamnInside 06-25-2012 23:39

[Multilingual] Need help making plugin multi-language
 
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?

Aooka 06-26-2012 04:07

Re: [Multilingual] Need help making plugin multi-language
 
Read it it can be usefull : http://wiki.amxmodx.org/Advanced_Scr...ingual_Support

And what do you whant to do ? :p


All times are GMT -4. The time now is 06:17.

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