mirror of
https://github.com/etlegacy/etlegacy-lua-scripts.git
synced 2024-11-21 20:11:06 +00:00
modname and version added
Added modname and version to show it with /lua_status
This commit is contained in:
parent
8b2bca2b20
commit
c0a6dac4b1
1 changed files with 7 additions and 0 deletions
|
@ -1,4 +1,11 @@
|
|||
--Source: http://lua.wolffiles.de/?fileid=32
|
||||
modname="AnnounceHP"
|
||||
version="1.0"
|
||||
|
||||
function et_InitGame()
|
||||
et.RegisterModname(modname.." "..version)
|
||||
end
|
||||
|
||||
function et_Obituary(victimnum, killernum, meansofdeath)
|
||||
local victimteam = tonumber(et.gentity_get(victimnum, "sess.sessionTeam"))
|
||||
local killerteam = tonumber(et.gentity_get(killernum, "sess.sessionTeam"))
|
||||
|
|
Loading…
Reference in a new issue