Raised This Month: $ Target: $400
 0% 

Lang Opcion...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 08-08-2008 , 18:10   Lang Opcion...
Reply With Quote #1

Hi friends, I am doing a plugin, I need help with dictionary.

Is posible to get the amx_lang off the client?

and if is: ES show X msg, and if is EN show another?

Because my plugin have only 1 or 2 Msg, And I dont want to do a lang ?
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 08-08-2008 , 18:55   Re: Lang Opcion...
Reply With Quote #2

LANG_PLAYER ?

PHP Code:
client_print(idprint_chat"%L"LANG_PLAYER /*LANG_SERVER*/"SOME_THING"
__________________
IneedHelp is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-08-2008 , 19:00   Re: Lang Opcion...
Reply With Quote #3

Do not use LANG_PLAYER. Instead, use the player index.
Only use LANG_PLAYER when using 0 as the player index.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 08-08-2008 , 19:58   Re: Lang Opcion...
Reply With Quote #4

Oh, is true, sorry about that, fixed:

PHP Code:
client_print(idprint_chat"%L",id"SOME_THING"

</span></span>
__________________
IneedHelp is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 08-08-2008 , 21:15   Re: Lang Opcion...
Reply With Quote #5

This:

PHP Code:
ShowSyncHudMsg(0sync"%L"plr"MP_DISPLAY"time_s); 
Or This:

PHP Code:
ShowSyncHudMsg(0sync"%L"0"MP_DISPLAY"time_s); 
Only work with some Idioms.
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-08-2008 , 21:19   Re: Lang Opcion...
Reply With Quote #6

Quote:
Originally Posted by X-olent View Post
Only use LANG_PLAYER when using 0 as the player index.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 08-08-2008 , 21:54   Re: Lang Opcion...
Reply With Quote #7

PHP Code:
ShowSyncHudMsg(0sync"%L"LANG_PLAYER"MP_DISPLAY"time_s); 
Thank
__________________

Last edited by AntiBots; 08-08-2008 at 22:18.
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Reply



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 05:29.


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