Call a function by the pointer from FunctionTable
I have these functions from datamaps:
DEFINE_THINKFUNC( Detonate ) Code:
CBaseCSGrenadeProjectile - hegrenade_projectile PHP Code:
PHP Code:
PHP Code:
UPD: I got inputfunc_t field value from typedescription_t of the "CBaseGrenadeDetonate", I gues that should be the correct funcion pointer, but have no idea ho I can call it |
Re: Call a function by the pointer from FunctionTable
Here is my solution:
PHP Code:
It seams to be the only way to detonate grenades without delays and dealing with signatures. |
All times are GMT -4. The time now is 05:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.