AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SOLVED]Question Multilingual (https://forums.alliedmods.net/showthread.php?t=109519)

#8 SickneSS 11-18-2009 04:40

[SOLVED]Question Multilingual
 
How i can make a multilingual for this...

PHP Code:

chat_color(id,"!g%s !yYou have been %sable your respawn.",szPrefix,respawn[id] ? "en" "dis"

I dont know how,because i have that with this...

PHP Code:

respawn[id] ? "en" "dis"

In spanish...

PHP Code:

respawn[id] ? "h" "desh"


Arkshine 11-18-2009 04:44

Re: Question Multilingual
 
Create 2 keylang.

chat_color(id,"!g%s %L",szPrefix, id, respawn[id] ? "RESPAWN_ENABLE" : "RESPAWN_DISABLE")

#8 SickneSS 11-18-2009 05:05

Re: Question Multilingual
 
dont works

PHP Code:

chat_color(id,"%L",id,"WUP_SAYRESPAWN",szPrefix,respawn[id] ? "WUP_ENABLE" "WUP_DISABLE"

Show this

[WUP] You have been WUP_ENABLEable your respawn.

ML

Code:

WUP_SAYRESPAWN = !g%s !yYou have been %sable your respawn.
WUP_ENABLE = en
WUP_DISABLE = dis


Arkshine 11-18-2009 05:37

Re: Question Multilingual
 
Read me again.

#8 SickneSS 11-18-2009 06:36

Re: [SOLVED]Question Multilingual
 
xD! I see... Thanks Ark :D


All times are GMT -4. The time now is 13:43.

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