Quote:
Originally Posted by killerZM
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.