AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Multi-lingual format (https://forums.alliedmods.net/showthread.php?t=208430)

Unkolix 02-13-2013 10:06

Multi-lingual format
 
I am having problems with this:
It was like this before I edited it:
PHP Code:

format(message255"%s Prisijunge VIP: ",COLOR

To this:
PHP Code:

format(message255"%L"id"VIPS_ONLINE"COLOR

And now I get ML_NOTFOUND: VIPS_ONLINE, or something like that, in chat.

YamiKaitou 02-13-2013 17:44

Re: Multi-lingual format
 
Does VIPS_ONLINE exist in a dictionary that you have registered?

Unkolix 02-14-2013 00:16

Re: Multi-lingual format
 
Yes. I've made quite a few ML sentences that work.

YamiKaitou 02-14-2013 00:24

Re: Multi-lingual format
 
Show us the entire dictionary file

Unkolix 02-14-2013 03:48

Re: Multi-lingual format
 
I am not at home now. Bu I can write like I did
Code:

[en] (can not make a space to new line) VIPS_ONLINE = %s VIP members online:

YamiKaitou 02-14-2013 04:06

Re: Multi-lingual format
 
We need the exact file as it is on your server (ie, attach it)

Unkolix 02-14-2013 07:21

Re: Multi-lingual format
 
1 Attachment(s)
Here you go.

YamiKaitou 02-14-2013 07:24

Re: Multi-lingual format
 
Encode it as UTF-8 without BOM

Unkolix 02-14-2013 07:36

Re: Multi-lingual format
 
Oh!!! When I created it with notepad ++, encoded it to UTF-8 without BOM, but when I eddited it with normal notepad it turned to UTF-8. Thanks.

.Dare Devil. 02-14-2013 07:42

Re: Multi-lingual format
 
try ^r its same like white space in cs1.6 :)


All times are GMT -4. The time now is 20:32.

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