View Single Post
Author Message
client21
Senior Member
Join Date: Apr 2013
Old 01-10-2020 , 15:11   How i can get object pointer?
Reply With Quote #1

sourcemod 1.6.3 (don't ask why).

How get pointer/object for class ISourcePawnEngine2
https://github.com/alliedmodders/sou...vm_api.h#L1184

We can use this
https://github.com/alliedmodders/sou...urceMod.h#L209

But it's
ISourcePawnEngine *g_pSourcePawn = NULL;

But we need it
ISourcePawnEngine2 *g_pSourcePawn2 = NULL;



---
Ok i found solution, but now GetSymbolAddress returns me NULL =\

Last edited by client21; 01-11-2020 at 17:54.
client21 is offline