Multi-lingual Support: The 'target' Parameter
I'm a bit confused about what happens when I use the different options for the 'target' parameter when using the multi-lingual support.
Quote:
In the following code, does using LANG_PLAYER hurt anything even though I'm sending the message to a single player? Code:
|
I dont know...try pming some of the translators...i belive they would know...or one of the mods...
|
Quote:
|
Hawk, that's exactly what I was thinking. How sad is it to post a response to a question essentially saying, "I don't know."? That's a rhetorical question.
I can only imagine that the people Yuri/Zenith/HisNextAlias cited actually read the boards too and would jump in if they had relevant information. The reason I didn't PM anyone that might know is that I thought the discussion in this thread might be of value to others. That's one of the main purposes of the forums; to share information with others. So Zenith, please STFU. You're not being helpful. Now please... No more off-topic or non-contributing responses in this thread. |
The only time you use LANG_PLAYER is when you do a client_print(0, print_chat.... which it will send it to everyone in there own language
When you do a single person ie client_print(aIndex, print_chat, "%L", aIndex, "TA_WARNING_ADMIN_MSG", damage). You use the id of the player. Found this out when doing atac ML stuff. Some time it wouldn't show in the correct languages when it was incorrectly used |
Thanks teame06, I appreciate your contribution.
|
Note, you also use LANG_SERVER when doing the server's native language.
See the topic about ML in the "Helpful Stuff" sticky. |
Thanks for chiming in Bailopan.
Quote:
[EDIT] And just like that, I figured out why one might want to use LANG_SERVER. In my case, I'm writing to the AMXX log file which obviously isn't associated with any player. Therefore, the only choice available to me is LANG_SERVER. [/EDIT] Quote:
Based on what I had read in the documentation, I thought I knew what I was supposed to do but I needed someone to hug me and tell me I was right. teame06 gave me the hug. |
| All times are GMT -4. The time now is 14:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.