• init not running?
    1 replies, posted
So, I *finally* decided to learn Lua. To start, I decided to modifty the [url="http://www.facepunch.com/showthread.php?p=15609771#post15609771"] Inventory Addon [/url] to work with all DarkRP sents, and to work with things like spawned_shipments which have more than one variable. After adding some new umsg's and some extra tables, I encountered this error: Client side works completely, but the inv_init.lua appears to no even be run. To load it, i followed chewgum's method of creating an autorun file called loader that does : if ( SERVER ) then include( "inv_init.lua" ) else include( "inv_cl_init.lua" ) end However, the init file is not being run. Any ideas? Thanks in advance, Jake
[lua] if SERVER then AddCSLuaFile("inv_cl_init.lua") include("inv_init.lua") else include("inv_cl_init.lua") end [/lua]
Sorry, you need to Log In to post a reply to this thread.