Raised This Month: $ Target: $400
 0% 

[Multilingual] Need help making plugin multi-language


Post New Thread Reply   
 
Thread Tools Display Modes
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
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 06-26-2012 , 04:07   Re: [Multilingual] Need help making plugin multi-language
Reply With Quote #2

Read it it can be usefull : http://wiki.amxmodx.org/Advanced_Scr...ingual_Support

And what do you whant to do ? :p
__________________
Pawn ? Useless

Last edited by Aooka; 06-26-2012 at 04:08.
Aooka is offline
Old 06-26-2012, 13:54
DamnInside
This message has been deleted by DamnInside.
Reply


Thread Tools
Display Modes

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