1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-06 08:57:11 +02:00

Implemented global and local player messaging customization.

This commit is contained in:
Sandu Liviu Catalin
2015-11-09 05:54:03 +02:00
parent 3c3e67bdaa
commit bcf9d603e7
6 changed files with 478 additions and 112 deletions

View File

@ -84,6 +84,11 @@ bool Core::Init()
return false;
}
// Initialize the player message prefixes
Ent< CPlayer >::Prefixes.fill(Ent< CPlayer >::MsgPrefix::value_type());
// Initialize the player message styles
Ent< CPlayer >::MessageColor = 0x6599FFFF;
Ent< CPlayer >::AnnounceStyle = 1;
LogMsg("%s", CenterStr("SUCCESS", '*'));
return true;