Raised This Month: $ Target: $400
 0% 

multilang message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-14-2019 , 22:03   Re: multilang message
Reply With Quote #10

Quote:
Originally Posted by iceeedr View Post
PHP Code:
new TranslatedMessage[164]
    
formatex(TranslatedMessagecharsmax(TranslatedMessage), "%L"LANG_PLAYER"yourmessagename"szUserName szAuthID
Perhaps you should read a little bit more closely, you did exactly what you can't do: You can't use LANG_PLAYER with format() or formatex(). You can only use it with client_print() (there might be some others but they have to print directly to the player).

So, in your case,
Quote:
Originally Posted by OciXCrom View Post
You would use the player's index instead of LANG_PLAYER.
__________________

Last edited by fysiks; 10-14-2019 at 22:16.
fysiks is offline
 



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 02:56.


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