Dynamic Rcon Menu
Posted: Thu Nov 30, 2006 8:46 pm
Is there a way to initialize a label resource with a local variable? This URC is an rcon menu that is map independent, so a script file would not already be initialized with a local variable, and I don't know if you can start a thread from within a URC.
This is what I want to do, but thats not happening:
Any ideas?
This is what I want to do, but thats not happening:
Code: Select all
menu "testmenu" 800 595 NONE 1
fgcolor 1.00 1.00 1.00 0.00
bgcolor 0.00 0.00 0.00 0.00
align center
local.string = "something"
resource
Label
{
title local.string
name "Default"
rect 506 34 120 21
fgcolor 0.00 0.00 0.00 1.00
bgcolor 0.82 0.82 0.79 1.00
borderstyle "3D_BORDER"
}Any ideas?