View Single Post
STekLyAToR
Member
Join Date: May 2016
Old 08-10-2017 , 08:38   Re: How to hook/call game dll function from module?
Reply With Quote #8

Quote:
Originally Posted by KliPPy View Post
Check amxmodx/meta_api.cpp and search for SV_DropClient.
As I understand, to detour function I need to it was declared in my code?
For example, using IDA I found out that exist is that function:
Code:
void AdjustSpecificWeapon(tsweapon_t, float, float, float, float, int)
But that function are not declared in cpp code, because that from game dll.
Will it be enough to declare a func for detour that, or i need initialize func and after detour?
STekLyAToR is offline