User:Phenomenon: Difference between revisions

From WolfWiki
Jump to navigation Jump to search
Line 20: Line 20:
</pre>
</pre>


<pre><nowiki>
*Reastart the server, the map or load a new map to reload lua modules
function et_InitGame(levelTime, randomSeed, restart)
-- do something
end
</nowiki></pre>

Revision as of 17:24, 25 July 2006

personal profile

... bla bla ...

anymod.lua

Requirements
Installation
  • Add the following command to your server.cfg to call the script on server start
set lua_modules "anymod.lua"
  • Reastart the server, the map or load a new map to reload lua modules