Raised This Month: $ Target: $400
 0% 

Lang !


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 08-29-2009 , 23:09   Lang !
Reply With Quote #1

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
...
Mxnn is offline
hzqst
Senior Member
Join Date: Jul 2008
Old 08-29-2009 , 23:39   Re: Lang !
Reply With Quote #2

ANSI?
hzqst is offline
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 08-29-2009 , 23:53   Re: Lang !
Reply With Quote #3

Ansi? O.O
Mxnn is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-30-2009 , 01:31   Re: Lang !
Reply With Quote #4

http://www.ansi.org/
__________________
fysiks is offline
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 08-30-2009 , 14:14   Re: Lang !
Reply With Quote #5

I don't understand you .. I copy the code from other plugin (admincmd) and didn't works..
Mxnn is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 08-30-2009 , 21:46   Re: Lang !
Reply With Quote #6

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?
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Mxnn
Veteran Member
Join Date: Aug 2009
Location: AT MY HOME
Old 08-31-2009 , 00:29   Re: Lang !
Reply With Quote #7

Yes.. i put this but didn't work..
Mxnn is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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