no its not this
its my login menu
Code:
#include "ui_mp/menudef.h"
#define ORIGIN_LOGO 200 0
#define ORIGIN_MESSAGE 270 390
#define ORIGIN_MOD_INFO 40 450
#define ORIGIN_LOGIN_ACCEPT 395 247
#define ORIGIN_LOGIN_ERROR 395 247
#define ORIGIN_PASSWORD_ACCEPT 395 287
#define ORIGIN_PASSWORD_ERROR 395 287
#define ORIGIN_LOGIN_LOGIN 236 245
#define ORIGIN_LOGIN_PASSWORD 235 282
#define ORIGIN_BGLOGIN 260 250
#define ORIGIN_LOGINVALUE 263 272
#define ORIGIN_LOGIN 275 318
#define ORIGIN_BGPASSWORD 260 290
#define ORIGIN_PASSWORDVALUE 263 312
#define ORIGIN_REGISTER_HERE 235 350
#define ORIGIN_RESET_PASSWORD 345 350
#define ORIGIN_CHOICE -90 0
#define ORIGIN_BG 180 240
#define ORIGIN_BG1 180 221
#define ORIGIN_BG1_TEXT 213 237
#define ORIGIN_BG2 277 221
#define ORIGIN_BG2_TEXT 300 237
#define ORIGIN_BG3 374 221
#define ORIGIN_BG3_TEXT 405 237
{
menuDef
{
name "caccount_login"
rect 0 0 640 480
focuscolor GLOBAL_FOCUSED_COLOR
style WINDOW_STYLE_EMPTY
blurWorld 5.0
onOpen
{
scriptMenuResponse "clear";
show logo;
show register_here;
show reset_password;
show login_login;
show login_password;
show login;
show login_accept;
show login_error;
show password_accept;
show password_error;
}
onEsc
{
scriptMenuResponse "checklogin";
}
itemDef
{
style WINDOW_STYLE_SHADER
rect 0 0 640 480 HORIZONTAL_ALIGN_FULLSCREEN VERTICAL_ALIGN_FULLSCREEN
background "gradient"
visible 1
decoration
}
itemDef
{
name "window_background"
visible 1
rect 0 0 850 480
origin ORIGIN_CHOICE
style WINDOW_STYLE_FILLED
forecolor 1 1 1 1
backcolor 0 0 0 0.7975
decoration
}
// MENU CHOICES
execKey "1" { play "mouse_click"; scriptMenuResponse "1"; }
execKey "2" { play "mouse_click"; scriptMenuResponse "2"; }
execKey "3" { play "mouse_click"; scriptMenuResponse "3"; }
execKey "4" { play "mouse_click"; scriptMenuResponse "4"; }
execKey "5" { play "mouse_click"; scriptMenuResponse "5"; }
execKey "6" { play "mouse_click"; scriptMenuResponse "6"; }
execKey "7" { play "mouse_click"; scriptMenuResponse "7"; }
execKey "8" { play "mouse_click"; scriptMenuResponse "8"; }
execKey "9" { play "mouse_click"; scriptMenuResponse "9"; }
execKey "0" { play "mouse_click"; scriptMenuResponse "0"; }
execKey "a" { play "mouse_click"; scriptMenuResponse "a"; }
execKey "b" { play "mouse_click"; scriptMenuResponse "b"; }
execKey "c" { play "mouse_click"; scriptMenuResponse "c"; }
execKey "d" { play "mouse_click"; scriptMenuResponse "d"; }
execKey "e" { play "mouse_click"; scriptMenuResponse "e"; }
execKey "f" { play "mouse_click"; scriptMenuResponse "f"; }
execKey "g" { play "mouse_click"; scriptMenuResponse "g"; }
execKey "h" { play "mouse_click"; scriptMenuResponse "h"; }
execKey "i" { play "mouse_click"; scriptMenuResponse "i"; }
execKey "j" { play "mouse_click"; scriptMenuResponse "j"; }
execKey "k" { play "mouse_click"; scriptMenuResponse "k"; }
execKey "l" { play "mouse_click"; scriptMenuResponse "l"; }
execKey "m" { play "mouse_click"; scriptMenuResponse "m"; }
execKey "n" { play "mouse_click"; scriptMenuResponse "n"; }
execKey "o" { play "mouse_click"; scriptMenuResponse "o"; }
execKey "p" { play "mouse_click"; scriptMenuResponse "p"; }
execKey "q" { play "mouse_click"; scriptMenuResponse "q"; }
execKey "r" { play "mouse_click"; scriptMenuResponse "r"; }
execKey "s" { play "mouse_click"; scriptMenuResponse "s"; }
execKey "t" { play "mouse_click"; scriptMenuResponse "t"; }
execKey "u" { play "mouse_click"; scriptMenuResponse "u"; }
execKey "v" { play "mouse_click"; scriptMenuResponse "v"; }
execKey "w" { play "mouse_click"; scriptMenuResponse "w"; }
execKey "x" { play "mouse_click"; scriptMenuResponse "x"; }
execKey "y" { play "mouse_click"; scriptMenuResponse "y"; }
execKey "z" { play "mouse_click"; scriptMenuResponse "z"; }
execKeyInt 32 { play "mouse_click"; scriptMenuResponse "space" }
execKeyInt 127 { play "mouse_click"; scriptMenuResponse "backspace" }
itemDef
{
name "logo"
visible 0
rect 0 6 256 256
origin ORIGIN_LOGO
style WINDOW_STYLE_SHADER
background "logo"
}
////////addons
itemDef
{
name "button_bg"
rect 0 0 290 165
origin ORIGIN_BG
style WINDOW_STYLE_FILLED
border 1
bordercolor 1 1 1 1
backcolor 0 0 0 .8
visible 1
decoration
}
itemDef
{
name "button_bg1"
rect 0 0 98 20
origin ORIGIN_BG1
style WINDOW_STYLE_FILLED
border 1
bordercolor 1 1 1 1
backcolor 1 0 0 0.3
visible 1
decoration
}
itemDef
{
name "button_bg1_text"
visible 1
rect 0 0 128 24
origin ORIGIN_BG1_TEXT
forecolor GLOBAL_UNFOCUSED_COLOR
type ITEM_TYPE_TEXT
text "^7LOGIN"
textfont UI_FONT_NORMAL
textscale .25
}
itemDef
{
type ITEM_TYPE_BUTTON
rect 213 237 98 20
visible 1
action
{
play "mouse_click";
}
}
itemDef
{
name "button_bg2"
rect 0 0 98 20
origin ORIGIN_BG2
style WINDOW_STYLE_FILLED
border 1
bordercolor 1 1 1 1
backcolor 0 0 0 .8
visible 1
decoration
}
itemDef
{
name "button_bg2_text"
visible 1
rect 0 0 128 24
origin ORIGIN_BG2_TEXT
forecolor GLOBAL_UNFOCUSED_COLOR
type ITEM_TYPE_TEXT
text "^7REGISTER"
textfont UI_FONT_NORMAL
textscale .25
}
itemDef
{
type ITEM_TYPE_BUTTON
rect 277 221 98 20
visible 1
action
{
play "mouse_click";
close caccount_login;
open caccount_register;
}
}
itemDef
{
name "button_bg3"
rect 0 0 96 20
origin ORIGIN_BG3
style WINDOW_STYLE_FILLED
border 1
bordercolor 1 1 1 1
backcolor 0 0 0 .8
visible 1
decoration
}
itemDef
{
name "button_bg3_text"
visible 1
rect 0 0 128 24
origin ORIGIN_BG3_TEXT
forecolor GLOBAL_UNFOCUSED_COLOR
type ITEM_TYPE_TEXT
text "^7NEWS"
textfont UI_FONT_NORMAL
textscale .25
}
itemDef
{
type ITEM_TYPE_BUTTON
rect 374 221 96 20
visible 1
action
{
play "mouse_click";
}
}
itemDef
{
name "login_accept"
visible 0
rect 0 6 19 19
origin ORIGIN_LOGIN_ACCEPT
style WINDOW_STYLE_SHADER
background "czolk_accept"
dvartest "ui_allow_login_accept"
showDvar { "1" }
decoration
}
itemDef
{
name "login_error"
visible 0
rect 0 6 19 19
origin ORIGIN_LOGIN_ERROR
style WINDOW_STYLE_SHADER
background "czolk_error"
dvartest "ui_allow_login_error"
showDvar { "1" }
decoration
}
itemDef
{
name "password_accept"
visible 0
rect 0 6 19 19
origin ORIGIN_PASSWORD_ACCEPT
style WINDOW_STYLE_SHADER
background "czolk_accept"
dvartest "ui_allow_password_accept"
showDvar { "1" }
decoration
}
itemDef
{
name "password_error"
visible 0
rect 0 6 19 19
origin ORIGIN_PASSWORD_ERROR
style WINDOW_STYLE_SHADER
background "czolk_error"
dvartest "ui_allow_password_error"
showDvar { "1" }
decoration
}
itemDef
{
name "button_message_login"
visible 1
rect 0 0 128 24
origin ORIGIN_MESSAGE
forecolor GLOBAL_UNFOCUSED_COLOR
type ITEM_TYPE_TEXT
dvar login_message
textfont UI_FONT_NORMAL
textscale .25
}
itemDef
{
name "button_mod_info"
visible 1
rect 0 0 128 24
origin ORIGIN_MOD_INFO
forecolor GLOBAL_UNFOCUSED_COLOR
type ITEM_TYPE_TEXT
text "^7Acco^9unt ^7Sys^9tem ^7b^9y ^1: ^7Czo^9lg^1`"
textfont UI_FONT_NORMAL
textscale .25
}
itemDef
{
name "register_here"
visible 0
rect 0 6 70 18
origin ORIGIN_REGISTER_HERE
style WINDOW_STYLE_SHADER
background "register_here"
}
itemDef
{
type ITEM_TYPE_BUTTON
rect 235 350 70 18
visible 1
action
{
play "mouse_click";
close caccount_login;
open caccount_register;
}
}
itemDef
{
name "reset_password"
visible 0
rect 0 6 70 18
origin ORIGIN_RESET_PASSWORD
style WINDOW_STYLE_SHADER
background "reset_password"
}
////////login
itemDef
{
name "login"
visible 0
rect 0 6 100 26
origin ORIGIN_LOGIN
style WINDOW_STYLE_SHADER
background "login"
}
itemDef
{
type ITEM_TYPE_BUTTON
rect 275 318 101 26
visible 1
action
{
play "mouse_click";
scriptMenuResponse "login";
}
}
itemDef
{
name "login_login"
visible 0
rect 0 6 25 25
origin ORIGIN_LOGIN_LOGIN
style WINDOW_STYLE_SHADER
background "login_login"
}
itemDef
{
name "button_typed_login"
rect 0 0 132 24
origin ORIGIN_BGLOGIN
style WINDOW_STYLE_FILLED
border 1
bordercolor 1 1 1 1
backcolor 0 0 0 .8
visible 1
decoration
}
itemDef
{
type ITEM_TYPE_BUTTON
rect 260 250 132 26
visible 1
action
{
play "mouse_click";
scriptMenuResponse "wl";
}
}
itemDef
{
name "button_login_typed"
visible 1
rect 0 0 128 24
origin ORIGIN_LOGINVALUE
forecolor GLOBAL_UNFOCUSED_COLOR
type ITEM_TYPE_TEXT
dvar typed_valute_login
textfont UI_FONT_NORMAL
textscale .40
}
////////password
itemDef
{
name "login_password"
visible 0
rect 0 6 25 30
origin ORIGIN_LOGIN_PASSWORD
style WINDOW_STYLE_SHADER
background "login_password"
}
itemDef
{
name "button_typed_password"
rect 0 0 132 24
origin ORIGIN_BGPASSWORD
style WINDOW_STYLE_FILLED
border 1
bordercolor 1 1 1 1
backcolor 0 0 0 .8
visible 1
decoration
}
itemDef
{
name "button_password_typed"
visible 1
rect 0 0 128 24
origin ORIGIN_PASSWORDVALUE
forecolor GLOBAL_UNFOCUSED_COLOR
type ITEM_TYPE_TEXT
dvar typed_valute_password
textfont UI_FONT_NORMAL
textscale .40
}
itemDef
{
type ITEM_TYPE_BUTTON
rect 260 290 132 26
visible 1
action
{
play "mouse_click";
scriptMenuResponse "wp";
}
}
}
}