AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Multilingual question (https://forums.alliedmods.net/showthread.php?t=209012)

Mxnn 02-20-2013 00:40

Multilingual question
 
I don't know how to title this. My question is: It possible to do this ? Dictionary:
Code:

COLOR_1 = GREY (NEW LINE, I can't put new line!) CAR = car
In the plugin:
PHP Code:

 client_print(0print_chat"%L %L"LANG_PLAYER,"CAR"LANG_PLAYER"GREY"

Is this valid? Or I must format the code ? EDIT: Sry for edit too much, my message isn't showing as I want ! :S

ConnorMcLeod 02-20-2013 00:44

Re: Multilingual question
 
WTF are you doing ?

syntax is :

KEY = text here
KEY_2 = text here

Code:

CAR = car
GREY = car


Mxnn 02-20-2013 00:55

Re: Multilingual question
 
Yes i know it, but i can't put newlines. Can I put 2 multilinguals in a print? Like in the code

YamiKaitou 02-20-2013 01:38

Re: Multilingual question
 
Quote:

Originally Posted by Mxnn (Post 1898069)
Yes i know it, but i can't put newlines.

Yes you can, just press the Enter key

Quote:

Can I put 2 multilinguals in a print? Like in the code
Try it and see what happens


All times are GMT -4. The time now is 21:47.

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