mirror of
https://github.com/etlegacy/etlegacy-lua-scripts.git
synced 2024-11-22 12:31:20 +00:00
lua: some clean up
This commit is contained in:
parent
d4174b487a
commit
210bac61b0
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
modname = "Banners"
|
||||
modname = "Banners"
|
||||
version = "0.3"
|
||||
|
||||
welcome = "^WELCOME MESSAGE" -- Welcome message here when client finished connecting to the server
|
||||
|
@ -47,7 +47,7 @@ function et_InitGame( levelTime, randomSeed, restart )
|
|||
local a = (milliseconds*1000)/60
|
||||
|
||||
if(a == timer)
|
||||
et.trap_SendServerCommand(clientNum, "cpm \"" .. banner .."^7\n")
|
||||
et.trap_SendServerCommand(clientNum, "cpm \"" .. banner .."^7\n") -- not better to announce it globally instead only to clientnum ?
|
||||
elseif(a == timer1)
|
||||
et.trap_SendServerCommand(clientNum, "cpm \"" .. banner1 .."^7\n")
|
||||
elseif(a == timer2)
|
||||
|
|
Loading…
Reference in a new issue