Can't use CreateMessage in a source:mm plugin.. how?
I figured I'd give this a shot:
Code:
KeyValues *kv = new KeyValues( "msg" ); What do I do to get around this so that I can call this createmessage function? Thanks, Josh |
hmm... try casting m_ServerDll
Code:
m_Helpers->CreateMessage( pEntity, DIALOG_MSG, kv, (IServerPluginCallbacks *) m_ServerDll ); |
tried, server crashed :/
|
You must implement the IServerPluginCallbacks class. Make a dummy class that makes stub functions for everything but what you need.
|
ok will try that, ty
|
All times are GMT -4. The time now is 02:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.