AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   multi-lang text (https://forums.alliedmods.net/showthread.php?t=241266)

GhostMan 05-31-2014 11:04

multi-lang text
 
PHP Code:

client_print(idprint_chat"* Text constant %s", var ? "test1" "test2"

How to use multilingual function in this line? Or should i use IFs and use client_print twise?

EthicalHacker007 05-31-2014 11:15

Re: multi-lang text
 
Hello

You should post this in the scripting help section.

BTW Here you go.

Regards,
EH007

Kia 05-31-2014 11:23

Re: multi-lang text
 
PHP Code:

client_print(idprint_chat"%L"LANG_PLAYER, var ? "TRUE_TEXT" "FALSE_TEXT"


fysiks 06-01-2014 02:23

Re: multi-lang text
 
Moved to Scripting Help

Arkshine 06-01-2014 07:47

Re: multi-lang text
 
Quote:

Originally Posted by Kia (Post 2144836)
PHP Code:

client_print(idprint_chat"%L"id, var ? "TRUE_TEXT" "FALSE_TEXT"


Fixed.


All times are GMT -4. The time now is 09:44.

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