PHP Code:
#include <zp50_colorchat>
All players:
PHP Code:
zp_colored_print(0, "%L", LANG_PLAYER, "MENU_SAVE_MONEY", iVariable)
Specific Player:
PHP Code:
zp_colored_print(player, "%L", player, "MENU_SAVE_MONEY", iVariable)
It's better to have the %d this way.
instead of having the green close to %d. It's more safer. I had problems with it if I stick the ^x04 together with %d.
Extra info:- Player's index - Uses the specific player's chosen language
- LANG_PLAYER - Uses player's chosen language
- LANG_SERVER - Uses server's main language
- If you have special characters in the language file, make sure you save it as UTF-8 without BOM
To save text encoding to "UTF-8 without BOM", download & install Notepad++. Open the text document & click on Encoding on the toolbar and click "UTF-8 without BOM"