Quote:
Originally Posted by Cheeseh
Actually I think I#ve got it, I think you've got to get the Server Effects Interface :
IEffects *g_pEffects = NULL;
..
g_pEffects = (IEffects* )interfaceFactory(IEFFECTS_INTERFACE_VERSION,NULL) ;
...
g_pEffects->Beam(..,..);
Haven't tried it yet though but it compiles okay
Edit:
Arrrrgh.. Okay the interfaceFactory returns NULL.. :@
|
Don't use interfaceFactory.
Use this instead:
Code:
effects = (IEffects*)gameServerFactory(IEFFECTS_INTERFACE_VERSION, NULL);