[Mod] Colored GM messages (GM notice)
This mod allows you to send colored GM messages to players (see screenshot above) using the input field in the game client (ALT + P), or using the GMNotice() function.
To make the text of the message colored, you should write the following code at the beginning of the message:
{color:color}Message
The message color is specified in RGB format as a hexadecimal number (FFRRGGBB).
The following example will send the GM message "Hello PKOdev.NET" to the players in orange:
{color:FFFF8000}Hello PKOdev.NET!
You can also use the GMNotice() function:
GMNotice("{color:FFFF8000}Hello PKOdev.NET!")
Requirements
Installed mod loading system for server and client (PKOdev.NET mod loader).
Modification information
Name: pkodev.mod.colorgmnotice;
Version: 1.0;
Author: V3ct0r;
Type: for client (Game.exe);
Supported executable .exe files: GAME_13X_0, GAME_13X_1, GAME_13X_2, GAME_13X_3, GAME_13X_4, GAME_13X_5.
Installation
Place the mod DLL file "pkodev.mod.colorgmnotice.client.13x_<ID>.dll" for your version of Game.exe into the "mods" folder of the game client.
Download
1) Binary release;
2) The source code of the mod for Visual Studio 2019 Community (C++).
If you encounter any problem, bug or have any questions, then feel free to write in this thread.