So, i must write every image in menu, what i want to dvar, but i must turn it off and on? like:
itemDef
{
name "image"
visible 0
rect 0 6 20 20
origin ORIGIN_IMAGE
style WINDOW_STYLE_SHADER
background "IMAGE"
dvartest "ui_allow_image"
showDvar { "0" }
decoration
}
And activate with:
self setClientCvar("ui_allow_image","0"); ??