Raised This Month: $ Target: $400
 0% 

hooking game start or messages


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Beqa Gurgenidze
BANNED
Join Date: Nov 2016
Old 08-24-2017 , 11:02   Re: hooking game start or messages
Reply With Quote #4

Quote:
Originally Posted by killerZM View Post
so
but what if i want to do something when msg is hooked ?
Code:
void OnMessageBegin(int Dest, int Type, const float *pOrigin, edict_t *pPlayer)
{
	switch (Type)
	{
	case MESSAGE_HOSTAGEK:
		break; // <<< You Can Write Anything Here. This message already hooked.
	case MESSAGE_HOSTAGEPOS:
		break; // <<< You Can Write Anything Here. This message already hooked.
	case MESSAGE_HLTV:
		break; // <<< You Can Write Anything Here. This message already hooked.
	}

	RETURN_META(MRES_IGNORED);
}
Beqa Gurgenidze is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode