Forged Alliance Forever Forums
Moderator: keyser
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)
Users browsing this forum: No registered users and 1 guest