hooking natives within plugin itself?
#4

Quote:
Originally Posted by JernejL
Посмотреть сообщение
You totally missed the point, i am talking about two things:

1. Gamemode callbacks - i want to know when onplayerupdate public is called inside my plugin without exporting a native and calling it from pawn/amx

2. I wish to override a native with a new one - if script or any filterscripts call setplayerpos, i want my plugin to hook between the calls to do something internally.
Oh i apologize then! I THINK the second link has an option of hooking callbacks without having to call a custom plugin function. Im not entirely sure though as i havent jumped into the code yet (just looked at a few bits). I've been going through PAWN so far for my C++ GM callbacks (its certainly less than ideal) so let me know if you mess with it before i do :P.

I dont really know about the second thing (well without using PAWN) so im of no use there . Hopefully someone with a bit more C/++ experience will come along and answer that one.
Reply


Messages In This Thread
hooking natives within plugin itself? - by JernejL - 14.07.2011, 22:44
Re: hooking natives within plugin itself? - by Kyosaur - 14.07.2011, 22:54
Re: hooking natives within plugin itself? - by JernejL - 14.07.2011, 23:12
Re: hooking natives within plugin itself? - by Kyosaur - 14.07.2011, 23:25
Re: hooking natives within plugin itself? - by CyNiC - 15.07.2011, 03:03
Re: hooking natives within plugin itself? - by JernejL - 15.07.2011, 07:31
Re: hooking natives within plugin itself? - by 0x5A656578 - 15.07.2011, 08:37
Re: hooking natives within plugin itself? - by 0x5A656578 - 15.07.2011, 09:28

Forum Jump:


Users browsing this thread: 1 Guest(s)