Language files
If you are making a plugin which uses a dictionary, and this is your code to display a text:
Code:
Which do you have to type the id twice? client_print(id, print_chat, "[AMXX] %L", id, "SOME_TEXT", authid) |
because you do. %L requires a language target.
|
The second id is when you are sending to one player and that tells the language to set to the clients language.
|
Or you could use LANG_PLAYER instead of the second id - this makes AMX Mod X auto-choose the language for YOU for YOU for YOU for YOU !!!! :D
|
Ahhh...
But you forgot to tell that you need to specify it because every player has a different language. Ty |
Also, if you are showing something to all players, use client_print with 0 and then LANG_PLAYER.
Of course this won't help you if you are printing to only a subset of the players - you'll have to iterate yourself then. |
Allright, thanks PM
|
| All times are GMT -4. The time now is 05:01. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.