Raised This Month: $32 Target: $400
 8% 

How to generate amxx like message with C++ code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 12-18-2018 , 08:41   How to generate amxx like message with C++ code
Reply With Quote #1

So I want to send amxx message like ShowMenu or VGUIMenu


I can hook anything on client ( 7690 build )

Code:
int ShowMenu(const char *pszName, int iSize, void *pbuf)
{
	    BEGIN_READ(pbuf, iSize);

	    short	KeysBitSum = READ_SHORT();
	    char	Time = READ_CHAR();
	    byte	Multipart = READ_BYTE();
	    string Text = READ_STRING();
		

	return pShowMenu(pszName, iSize, pbuf);
}
but I want to create my own menu with c++ on client without amxx mod.
I didn`t found in hlsdk anything related. only read_string/angle/byte and nothing like send_message
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc

Last edited by avril-lavigne; 12-18-2018 at 08:43.
avril-lavigne is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 12-18-2018 , 09:13   Re: How to generate amxx like message with C++ code
Reply With Quote #2

I don't really understand what you need exactly, but these engine functions are equivalent to AMXX's message_begin/end and write_* natives.
__________________

Last edited by klippy; 12-18-2018 at 09:15.
klippy is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 12-20-2018 , 19:09   Re: How to generate amxx like message with C++ code
Reply With Quote #3

thanks
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
Reply



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 07:39.


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