03-01-2011, 02:41 PM
(03-01-2011, 11:23 AM)Dys0n Wrote: Can i make a function that can be called in all plugins eg if i make a function called
Coldsteel:SendData( pName, Message )
How could i call that in all lua scripts?
In Lua you can use require. But I wouldn't know how to get that to work with this. I'm guessing you can't unless he implemented the use of a _G.lua script where everything inside is global. I used something similar while modifying the game S.T.A.L.K.E.R. If someone knows the right answer this would be quite helpful in the future.