Hooking hooked functions
#1

Hello everyone, is it possible to hook for example GivePlayerWeapon function in my gamemode (main .pwn file) if this functions is already hooked in other include? I tried to hook that function, but unfortunately it won't work. Maybe there is special way to hook hooked functions or sth? Waiting for answer.
Reply
#2

The short answer, yes.

Just the normal way, just the name has to be diffrent then in the other hooks.

https://sampforum.blast.hk/showthread.php?tid=392061
Reply
#3

Alright, I will try it again. Thanks for response!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)