cPluginManager:GetLuaPlugin() and lua_State
#1
Lightbulb 
Oh my God! - that was first thought I had when I found GetLuaPlugin(). In the Bindings. So, it's a function, seems like it should return Lua Plugin instance (looked into source: a-ha! it does!), and it's exported to Lua. Brilliant!

"Hold on, boy, look what this function needs as arguments..."

Damn! Some lua_State pointer, and I HAVE NO IDEA (remembered Meet Medic from TF2... nevermind) what that thing is...

FakeTruth, I need your torch there!
(because the idea of grabbing plugin instance in another plugin seems to be VERY desired by me)
Reply
Thanks given by:


Messages In This Thread
cPluginManager:GetLuaPlugin() and lua_State - by Taugeshtu - 06-06-2012, 10:44 PM



Users browsing this thread: 1 Guest(s)