Raised This Month: $ Target: $400
 0% 

Hud Message lang ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 10-29-2015 , 05:15   Hud Message lang ?
Reply With Quote #1

Is there no way to change the language Hud Message UTF-8 !
__________________

Last edited by abdobiskra; 10-29-2015 at 05:16.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 10-29-2015 , 07:14   Re: Hud Message lang ?
Reply With Quote #2

show_hudmessage(id, "%L", id, "BLAH_TEST")

Much same as client print or colorchat
redivcram is offline
CHE4TER
Member
Join Date: Jul 2013
Location: Portugal
Old 10-29-2015 , 10:38   Re: Hud Message lang ?
Reply With Quote #3

Quote:
Originally Posted by abdobiskra View Post
Is there no way to change the language Hud Message UTF-8 !
PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_clcmd("say /hud""hud")
    
register_dictionary("hud.txt")
}

public 
hud(id)
{
    
set_hudmessage(25500, -1.00.01)
    
show_hudmessage(id"%L"id"TEST_MSG")

hud.txt (addons\amxmodx\data\lang)
Code:
[en]
TEST_MSG = Hello World!
I use Notepad++ for saving in UTF-8 without BOM
CHE4TER is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 10-29-2015 , 11:34   Re: Hud Message lang ?
Reply With Quote #4

Thank you for your responses
I also used the same method but it did not work with my lang ! (arabic) ..


... colorchat Supports languages?

Where the problem lies in that?
Attached Images
File Type: jpg Capture.JPG (9.1 KB, 190 views)
__________________

Last edited by abdobiskra; 10-29-2015 at 11:48.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
CHE4TER
Member
Join Date: Jul 2013
Location: Portugal
Old 10-29-2015 , 12:16   Re: Hud Message lang ?
Reply With Quote #5

Quote:
Originally Posted by abdobiskra View Post
Thank you for your responses
I also used the same method but it did not work with my lang ! (arabic) ..


... colorchat Supports languages?

Where the problem lies in that?
As you can see works fine in my server.
Maybe you doing something wrong?
Attached Images
File Type: jpg 2015-10-29_00002.jpg (90.2 KB, 200 views)
CHE4TER is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 10-29-2015 , 12:24   Re: Hud Message lang ?
Reply With Quote #6

Unfortunately I have not set the game it Half-Life 1 not CS !

Where is this different?

and can you attach your hud.txt file (arabic) i want try
__________________

Last edited by abdobiskra; 10-29-2015 at 12:27.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
CHE4TER
Member
Join Date: Jul 2013
Location: Portugal
Old 10-29-2015 , 12:28   Re: Hud Message lang ?
Reply With Quote #7

Quote:
Originally Posted by abdobiskra View Post
Unfortunately I have not set the game it Half-Life 1 not CS !

Where is this different?

and can you attach your hud.txt file (arabic) i want try
What do you mean? Your server is Half-Life? Not CS?
CHE4TER is offline
CHE4TER
Member
Join Date: Jul 2013
Location: Portugal
Old 10-29-2015 , 12:42   Re: Hud Message lang ?
Reply With Quote #8

Quote:
Originally Posted by abdobiskra View Post
Yes !
I never played/tested half-life servers. Maybe someone can look up the problem.
But I don't think if there are any difference.

Quote:
Originally Posted by abdobiskra View Post
and can you attach your hud.txt file (arabic) i want try
Attached Files
File Type: txt hud.txt (140 Bytes, 96 views)

Last edited by CHE4TER; 10-29-2015 at 12:43. Reason: .txt attached.
CHE4TER is offline
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 10-29-2015 , 12:39   Re: Hud Message lang ?
Reply With Quote #9

Yes !
__________________
abdobiskra is offline
Send a message via Skype™ to abdobiskra
abdobiskra
Veteran Member
Join Date: Jul 2014
Location: Algeria
Old 10-29-2015 , 12:55   Re: Hud Message lang ?
Reply With Quote #10

The way in which you wrote it wrong because the language will appear inverted and not properly language when i trayed to wrait correctly it did not work .. here my problem :/ !!

But this way it succeeds with function :

Code:
client_print(0, print_chat, "%L", 0, "TEST")
__________________

Last edited by abdobiskra; 10-29-2015 at 12:56.
abdobiskra is offline
Send a message via Skype™ to abdobiskra
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 17:49.


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