Hi, we finally got to work. The trouble was our banner position configuration that we used e.g. "b 8", "b 72". The bitmap as described in the old ETPro documentation (and the original source of the script) did not work for us. As far as I understand it you cannot print to clients screen like:
et.trap_SendServerCommand( id, "b 128 \" "..foo.." \"\n")
using silent mod 0.6.1 and the dynamic lua api. Currently we have follwoing working banner positions:
kmulti_pos = "cp" -- multi + megakill - position
kmonster_pos = "cp" -- ultra + monster + ludicrous + holy shit - position
kmultitk_pos = "cp" -- multi TK - position
kspree_pos = "bp" -- killing spree position
kspree_color = "5" -- killing spree color
And the corresponding sayClients function:
function sayClients(pos, msg)
local message = pos.." \""..msg.."^7\n\""
et.G_Printf("kspree.lua: sayClients with message: \"%s\"", message)
table.foreach(client_msg,
function(id, msg_ok)
if msg_ok then
et.trap_SendServerCommand(id, message)
end
end
)
end
What options are there for printing to clients screen using "et.trap_SendServerCommand"? Any documentation hint? Can't find anything. Cheers, metrizzle