How i can get object pointer?
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; :cry: --- Ok i found solution, |
Re: How i can get object pointer?
Post solution.
|
Re: How i can get object pointer?
Solution in core/sourcemod.cpp
But you must take into account that there are different methods for obtaining a pointer in old and new versions sm. |
Re: How i can get object pointer?
ISourcePawnEngine2 isn't part of the Extension API and isn't safe to use outside of SourceMod.
What is it from it that you need? |
Re: How i can get object pointer?
Quote:
PHP Code:
|
All times are GMT -4. The time now is 19:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.