Forged Alliance Forever Forged Alliance Forever Forums 2014-02-02T16:29:52+02:00 /feed.php?f=42&t=5929 2014-02-02T16:29:52+02:00 2014-02-02T16:29:52+02:00 /viewtopic.php?t=5929&p=63934#p63934 <![CDATA[Re: display game id in scores tab]]>
in "local function CreateMapNameLine(data)"
Code:
local gameidstr = ""
if HasCommandLineArg("/savereplay") then
         local url = GetCommandLineArg("/savereplay",1)[1]
         local lastpos = string.find(url,"/",20)
         gameidstr = "Game: " .. string.sub(url,20,lastpos-1) .. " "
elseif HasCommandLineArg("/replayid") then
         gameidstr = "Game: " .. GetCommandLineArg("/replayid",1)[1] .. " "
end

...

group.name = UIUtil.CreateText(group, gameidstr .. data.mapname, 10, UIUtil.bodyFont)

Statistics: Posted by PattogoTehen — 02 Feb 2014, 16:29


]]>
2013-12-17T18:02:10+02:00 2013-12-17T18:02:10+02:00 /viewtopic.php?t=5929&p=59665#p59665 <![CDATA[display game id in scores tab]]>

than anyone can see which game got casted and could download the replay

Statistics: Posted by PattogoTehen — 17 Dec 2013, 18:02


]]>