Sziasztok!
Légyszíves valaki segítene megértetni velem a menükészítést? Itt egy kód:
Kód
menuDef
{
name "weapon_british"
rect 0 0 640 480
focuscolor GLOBAL_FOCUSED_COLOR
style WINDOW_STYLE_EMPTY
blurWorld 5.0
onEsc
{
close weapon_british;
}
onOpen
{
show danifilth_info;
hide weapon_propertiestext;
}
onClose
{
hide enfield_info;
hide nagant_info;
hide kar98k_info;
hide springfield_info;
hide enfieldsniper_info;
hide nagantsniper_info;
hide kar98ksniper_info;
hide danifilth_info;
hide m1carbine_info;
hide m1garand_info;
hide svt40_info;
hide g43_info;
hide g43sniper_info;
}
// Gradient
itemDef
{
style WINDOW_STYLE_SHADER
//rect -107 0 554 480
rect 0 0 640 480 HORIZONTAL_ALIGN_FULLSCREEN VERTICAL_ALIGN_FULLSCREEN
background "gradient"
visible 1
decoration
}
#include "ui/bars.menu"
itemDef
{
type ITEM_TYPE_TEXT
visible 1
origin ORIGIN_TITLE
forecolor 1 1 1 1
text "@MPUI_BRITISH_WEAPONS"
textfont UI_FONT_NORMAL
textscale GLOBAL_HEADER_SIZE
decoration
}
Ezek mit jelentenek?
Előre is köszi a segítséget