{ menuDef { name "demo_playercard_sd" rect 0 0 640 480 4 4 visible when(isdemoplaying() && !isdemofreecamera() && !isdemocapturingscreenshot() && FUNC_84()); exp rect X (max((1 - (getplayercardinfo(9, 0, 6) / 150)), 0) * 240); itemDef { rect 0 0 240 20 2 1 style 1 decoration visible when(0 && (getplayercardinfo(0, 7, 6) != 0) && FUNC_72()); textalign 5 textscale 0.375 textstyle 8 textfont 6 glowcolor 1 0.8 0.6 1 exp text "@MP_KILLED_BY"; exp rect x ((0) - (240 / 2)); exp rect y 30 - 20; } itemDef { rect 0 0 240 20 2 1 style 1 decoration visible when(0 && (getplayercardinfo(0, 7, 6) != 0)); textalign 5 textscale 0.375 textstyle 8 textfont 6 glowcolor 1 0.8 0.6 1 exp text "@MP_YOU_KILLED"; exp rect x ((0) - (240 / 2)); exp rect y 30 - 20; } itemDef { rect 0 0 240 40 2 1 style 3 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0)); textscale 0.55 forecolor 0 0 0 1 background "white" exp rect x ((0) - (240 / 2)); exp rect y (30); } itemDef { rect 0 0 237.333 37.333 2 1 style 3 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0)); textscale 0.55 background "playercard_scanlines_512" exp rect x ((0) - (240 / 2)) + 1.333; exp rect y (30) + 1.333; } itemDef { rect 0 0 35.3 35.3 2 1 style 3 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0)); textscale 0.55 exp material tablelookupbyrow("mp/cardIconTable.csv", getplayercardinfo(2, 7, 6), 1); exp rect x ((0) - (240 / 2)) + 2.533; exp rect y (30) + 2.567; exp forecolor a 1; } itemDef { rect 0 0 156.667 31.333 2 1 style 1 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0)); textscale 0.55 backcolor 1 1 1 1 exp material tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 2); exp rect x ((0) - (240 / 2)) + 33.9; exp rect y (30) + (0 - 4.1); exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 3); exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 4); exp forecolor b tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 5); exp backcolor a 1; } itemDef { rect 0 0 28.8 28.8 2 1 style 1 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(20, 7, 6) > 0)); textscale 0.55 backcolor 1 1 1 1 exp material "clanlvl_box"; exp rect x ((0) - (240 / 2)) + 33.9 + ((156.667) - (28 * 0.9)); exp rect y (30) + (0 - 4.1) - (11 * 0.9); } itemDef { rect 0 0 14.4 14.4 2 1 style 1 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(20, 7, 6) > 0)); textscale 0.55 backcolor 1 1 1 1 exp material getplayercardinfo(22, 7, 6); exp rect x ((0) - (240 / 2)) + 33.9 + ((156.667) - (25.5 * 0.9)); exp rect y ((30) + (0 - 4.1)) - (3 * 0.9); } itemDef { rect 0 0 14.4 14.4 2 1 style 1 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(20, 7, 6) > 0)); textscale 0.55 backcolor 1 1 1 1 exp material getplayercardinfo(21, 7, 6); exp rect x ((0) - (240 / 2)) + 33.9 + ((156.667) - (13.5 * 0.9)); exp rect y ((30) + (0 - 4.1)) - (3 * 0.9); } itemDef { rect 0 0 156.667 31.333 2 1 style 1 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0)); textalign 9 textscale 0.375 textstyle 8 textfont 3 exp text getplayercardinfo(14, 7, 6); exp rect x ((0) - (240 / 2)) + 33.9; exp rect y (30) + (0 - 4.1); exp forecolor r tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 3); exp forecolor g tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 4); exp forecolor b tablelookupbyrow("mp/cardTitleTable.csv", getplayercardinfo(1, 7, 6), 5); exp backcolor a 0; } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && !0 && !0) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.375 textstyle 8 textfont 9 exp text getplayercardinfo(11, 7, 6); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 21.5; exp forecolor r 0.941; exp forecolor g 0.773; exp forecolor b 0.361; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && !0 && !0) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.3 textstyle 8 textfont 9 exp text getplayercardinfo(11, 7, 6); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 21.5; exp forecolor r 0.941; exp forecolor g 0.773; exp forecolor b 0.361; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && !0 && !0) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.225 textstyle 8 textfont 9 exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 22; exp forecolor r 0.941; exp forecolor g 0.773; exp forecolor b 0.361; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_24()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.375 textstyle 8 textfont 9 exp text getplayercardinfo(11, 7, 6); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 21.5; exp forecolor r 0.6; exp forecolor g 0.8; exp forecolor b 0.6; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_24()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.3 textstyle 8 textfont 9 exp text getplayercardinfo(11, 7, 6); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 21.5; exp forecolor r 0.6; exp forecolor g 0.8; exp forecolor b 0.6; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_24()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.225 textstyle 8 textfont 9 exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 22; exp forecolor r 0.6; exp forecolor g 0.8; exp forecolor b 0.6; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_27()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.375 textstyle 8 textfont 9 exp text getplayercardinfo(11, 7, 6); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 21.5; exp forecolor r 0.8; exp forecolor g 0.35; exp forecolor b 0.4; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_27()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.3 textstyle 8 textfont 9 exp text getplayercardinfo(11, 7, 6); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 21.5; exp forecolor r 0.8; exp forecolor g 0.35; exp forecolor b 0.4; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_27()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.225 textstyle 8 textfont 9 exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 22; exp forecolor r 0.8; exp forecolor g 0.35; exp forecolor b 0.4; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_23()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.375 textstyle 8 textfont 9 exp text getplayercardinfo(11, 7, 6); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 21.5; exp forecolor r 0.6; exp forecolor g 0.8; exp forecolor b 0.6; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_23()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.3 textstyle 8 textfont 9 exp text getplayercardinfo(11, 7, 6); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 21.5; exp forecolor r 0.6; exp forecolor g 0.8; exp forecolor b 0.6; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_23()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.225 textstyle 8 textfont 9 exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 22; exp forecolor r 0.6; exp forecolor g 0.8; exp forecolor b 0.6; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_26()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.375 textstyle 8 textfont 9 exp text getplayercardinfo(11, 7, 6); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 21.5; exp forecolor r 0.8; exp forecolor g 0.35; exp forecolor b 0.4; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 142), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_26()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.3 textstyle 8 textfont 9 exp text getplayercardinfo(11, 7, 6); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 21.5; exp forecolor r 0.8; exp forecolor g 0.35; exp forecolor b 0.4; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 142 && getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) <= 180), 1, 0); } itemDef { rect 0 0 146.7 16.6 2 1 style 1 decoration visible when(((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && 0 && FUNC_26()) && (getplayercardinfo(0, 7, 6) != 0)); textalign 8 textscale 0.225 textstyle 8 textfont 9 exp text truncateTextWithEllipsis(getplayercardinfo(11, 7, 6), 9, (0.375 * 0.6), 140); exp rect x ((0) - (240 / 2)) + 40; exp rect y (30) + 22; exp forecolor r 0.8; exp forecolor g 0.35; exp forecolor b 0.4; exp forecolor a select((getTextWidth(getplayercardinfo(11, 7, 6), 9, 0.375) > 180), 1, 0); } itemDef { rect 0 0 51.333 18.033 2 1 style 1 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && getplayercardinfo(12, 7, 6) != ""); textalign 8 textscale 0.375 textstyle 7 textfont 3 forecolor 0.941 0.773 0.361 1 exp text "[" + getplayercardinfo(12, 7, 6) + "]"; exp rect x ((0) - (240 / 2)) + 188; exp rect y (30) + 2.5; exp forecolor a 1; } itemDef { rect 0 0 18.667 18.667 2 1 style 3 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(4, 7, 6) >= 0) && dvarstring(gameMode) == "mp"); textscale 0.55 exp material tablelookup("mp/rankIconTable.csv", 0, getplayercardinfo(4, 7, 6), (getplayercardinfo(5, 7, 6) + 1)); exp rect x ((0) - (240 / 2)) + 192; exp rect y (30) + 18.9; exp forecolor a 1; } itemDef { rect 0 0 22 18.033 2 1 style 1 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(4, 7, 6) >= 0) && dvarstring(gameMode) == "mp"); textalign 8 textscale 0.375 textstyle 7 textfont 3 exp text tablelookup("mp/rankTable.csv", 0, getplayercardinfo(4, 7, 6), 14); exp rect x ((0) - (240 / 2)) + 212; exp rect y (30) + 19.167; exp forecolor a 1; } itemDef { rect 0 0 18.667 18.667 2 1 style 3 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(6, 7, 6) >= 0) && dvarstring(gameMode) == "so"); textscale 0.55 exp material tablelookup("sp/rankTable.csv", 0, getplayercardinfo(6, 7, 6), 6); exp rect x ((0) - (240 / 2)) + 192; exp rect y (30) + 18.9; exp forecolor a 1; } itemDef { rect 0 0 22 18.033 2 1 style 1 decoration visible when((milliseconds() - dvarint(cl_demo_playercard_display_start_time) < "DEMO_PLAYERCARD_DISPLAY_DURATION") && (getplayercardinfo(0, 7, 6) != 0) && (getplayercardinfo(6, 7, 6) >= 0) && dvarstring(gameMode) == "so"); textalign 8 textscale 0.375 textstyle 7 textfont 3 exp text tablelookup("sp/rankTable.csv", 0, getplayercardinfo(6, 7, 6), 14); exp rect x ((0) - (240 / 2)) + 212; exp rect y (30) + 19.167; exp forecolor a 1; } } }