AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Lang ! (https://forums.alliedmods.net/showthread.php?t=102082)

Mxnn 08-29-2009 23:09

Lang !
 
Yeah, i'm here again :(
Sorry for need much help :(, but now i want to put languages in my plugin
In my code i put
PHP Code:

register_dictionary("obligate.txt")
...
console_print(id"[AMXX] %L"id"CNSL_MSG"szTargetName)
client_print(0print_chat"%L"LANG_PLAYER"CHAT_MSG"szAdminNameszTargetName)
... 

Compiles but ingame shows me "ML_NOTFOUND CHAT_MSG and ML_NOTFOUND CNSL_MSG"
In /data/lang i create the txt "obligate" but didn't works..
In my file obligate.txt i put
Code:

[en]
CNSL_MSG = %s was obligated
CHAT_MSG = ADMIN: %s obligated %s

[es]
CNSL_MSG = %s fue obligado
CHAT_MSG = ADMIN: %s obligo a %s

... :(

hzqst 08-29-2009 23:39

Re: Lang !
 
ANSI?

Mxnn 08-29-2009 23:53

Re: Lang !
 
Ansi? O.O

fysiks 08-30-2009 01:31

Re: Lang !
 
http://www.ansi.org/

Mxnn 08-30-2009 14:14

Re: Lang !
 
I don't understand you .. I copy the code from other plugin (admincmd) and didn't works..

Alucard^ 08-30-2009 21:46

Re: Lang !
 
Is strange, the code for me is fine o.o

In what language you have in "amx_langmenu"?

Also obligate.txt is in data/lang?

Mxnn 08-31-2009 00:29

Re: Lang !
 
Yes.. i put this but didn't work..


All times are GMT -4. The time now is 15:10.

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