mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 21:41:05 +00:00
Define new messages.
This commit is contained in:
parent
0758c2ba2e
commit
664262883d
@ -188,6 +188,16 @@ int gmsgBhopcap = 0;
|
|||||||
int gmsgStatusText = 0;
|
int gmsgStatusText = 0;
|
||||||
int gmsgStatusValue = 0;
|
int gmsgStatusValue = 0;
|
||||||
|
|
||||||
|
int gmsgLensFlare = 0;
|
||||||
|
int gmsgAimFrame = 0;
|
||||||
|
int gmsgNotepad = 0;
|
||||||
|
int gmsgChangeMode = 0;
|
||||||
|
int gmsgChangePlr = 0;
|
||||||
|
int gmsgCamera = 0;
|
||||||
|
int gmsgSparePlayer = 0;
|
||||||
|
int gmsgAlienState = 0;
|
||||||
|
int gmsgDecayName = 0;
|
||||||
|
|
||||||
void LinkUserMessages( void )
|
void LinkUserMessages( void )
|
||||||
{
|
{
|
||||||
// Already taken care of?
|
// Already taken care of?
|
||||||
@ -234,6 +244,16 @@ void LinkUserMessages( void )
|
|||||||
|
|
||||||
gmsgStatusText = REG_USER_MSG( "StatusText", -1 );
|
gmsgStatusText = REG_USER_MSG( "StatusText", -1 );
|
||||||
gmsgStatusValue = REG_USER_MSG( "StatusValue", 3 );
|
gmsgStatusValue = REG_USER_MSG( "StatusValue", 3 );
|
||||||
|
|
||||||
|
gmsgLensFlare = REG_USER_MSG( "LensFlare", 1 );
|
||||||
|
gmsgAimFrame = REG_USER_MSG( "AimFrame", 14 );
|
||||||
|
gmsgNotepad = REG_USER_MSG( "Notepad", -1 );
|
||||||
|
gmsgChangeMode = REG_USER_MSG( "ChangeMode", 1 );
|
||||||
|
gmsgChangePlr = REG_USER_MSG( "ChangePlr", 1 );
|
||||||
|
gmsgCamera = REG_USER_MSG( "Camera", 7 );
|
||||||
|
gmsgSparePlayer = REG_USER_MSG( "SparePlayer", 1 );
|
||||||
|
gmsgAlienState = REG_USER_MSG( "AlienState", 1 );
|
||||||
|
gmsgDecayName = REG_USER_MSG( "DecayName", 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
LINK_ENTITY_TO_CLASS( player, CBasePlayer )
|
LINK_ENTITY_TO_CLASS( player, CBasePlayer )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user