Lua Examples
Lua is a server sided scripting language allowing users to customize their servers and settings to the fullest. Here below you will be able to find many examples on how the Lua Wolf API works in silEnT while getting a general understanding of lua.
et.RegisterModname()
Example Usage
function et_InitGame( levelTime, randomSeed, restart ) local modname = "^1MY MOD NAME" et.RegisterModname( modname ) end
or
function et_InitGame( levelTime, randomSeed, restart ) et.RegisterModname( "^1MY MOD NAME" ) end