Raised This Month: $ Target: $400
 0% 

Creating a script with data/lang


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 05-01-2007 , 17:19   Re: Creating a script with data/lang
Reply With Quote #7

You use the player index when your only sending the client the message. You use LANG_PLAYER When you do print to all client. You would do the same thing with show_hudmessage.

Code:
client_print(0, print_chat, "%L", LANG_PLAYER, "TEST");

If you want to send a message using the server language. You would replace id or LANG_PLAYER with LANG_SERVER.


Edit:

P.S. LANG_PLAYER was design to show the message in the client language vs just one language
__________________
No private support via Instant Message
GunGame:SM Released

Last edited by teame06; 05-01-2007 at 17:35.
teame06 is offline
Send a message via AIM to teame06
 



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 06:34.


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