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 09-18-2017 , 12:10   Re: hooking game start or messages
Reply With Quote #24

Quote:
Originally Posted by killerZM View Post
ok thanks
i need to do something like that
when player die give the attacker 3000$
but i tried to do get the first byte in deathmsg then use MESSAGE_BEGIN to write player money it give error
"Another message has been sent before msg "23" had been sent"
you used message begin when message was not ended (deathmsg) that is an error of course.
you need to write your own BYTE & use RETURN_META(MRES_SUPERCEDE); in WRITE_BYTE hooked function.
or block whole message & get its own values & after end of message, call your own.

Last edited by Beqa Gurgenidze; 09-18-2017 at 12:13.
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