Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char* sVar16;
- char* sVar17;
- struct<13> Var18;
- char[] cVar19[8];
- char[] cVar20[8];
- int iVar21;
- if (SCRIPT::GET_EVENT_DATA(1, iParam0, &Var0, 14))
- {
- if (func_13833(Var0.f_2))
- {
- return;
- }
- iVar1 = Var0.f_1;
- iVar2 = Var0.f_10;
- iVar5 = 1;
- iVar6 = 1;
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- iVar5 = 1;
- }
- if (func_12821(iVar1, 0, 0))
- {
- switch (Var0.f_2)
- {
- case -130461309:
- if (Global_1383458.f_8)
- {
- return;
- }
- func_1499("TICK_ATTVAN", iVar1, 0, 0, 0, 1, 1, 0);
- break;
- case -1253607839:
- if (Global_1383458.f_9)
- {
- return;
- }
- if (SCRIPT::_GET_NUMBER_OF_INSTANCES_OF_SCRIPT_WITH_NAME_HASH(joaat("mg_race_to_point")) > 0)
- {
- func_1499("R2P_ACCT", iVar1, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -513904289:
- if (Global_1383458.f_10)
- {
- return;
- }
- if (SCRIPT::_GET_NUMBER_OF_INSTANCES_OF_SCRIPT_WITH_NAME_HASH(joaat("mg_race_to_point")) > 0)
- {
- func_1499("R2P_JOINT", iVar1, 0, 0, 0, 1, 1, 0);
- }
- break;
- case 986705285:
- if (Global_1383458.f_11)
- {
- return;
- }
- if (SCRIPT::_GET_NUMBER_OF_INSTANCES_OF_SCRIPT_WITH_NAME_HASH(joaat("mg_race_to_point")) > 0)
- {
- func_1499("R2P_LEAVT", iVar1, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -50116974:
- if (Global_1383458.f_12)
- {
- return;
- }
- if (SCRIPT::_GET_NUMBER_OF_INSTANCES_OF_SCRIPT_WITH_NAME_HASH(joaat("mg_race_to_point")) > 0)
- {
- func_1499("R2P_DISQT", iVar1, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -302923242:
- if (Global_1383458.f_13)
- {
- return;
- }
- if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(iVar1))
- {
- func_1499("RCE_EXP_4", iVar1, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -1291682829:
- if (Global_1383458.f_14)
- {
- return;
- }
- if (!func_147(PLAYER::PLAYER_ID(), 1))
- {
- func_1499("GHO_START", iVar1, 0, 0, 0, 1, 1, 0);
- }
- break;
- case 220726201:
- if (Global_1383458.f_15)
- {
- return;
- }
- func_1877("TICK_CHOPPER", 1);
- break;
- case 403111300:
- if (Global_1383458.f_16)
- {
- return;
- }
- func_1499("TICK_EYE", iVar1, 0, 0, 0, 1, 1, 0);
- break;
- case 1360610666:
- if (Global_1383458.f_34)
- {
- return;
- }
- func_1499("TICK_RAPEL", iVar1, 0, 0, 0, 1, 1, 0);
- break;
- case 1954854628:
- if (Global_1383458.f_35)
- {
- return;
- }
- func_1499("TICK_RIVAL", iVar1, 0, 0, 0, 1, 1, 0);
- break;
- case -304814395:
- if (Global_1383458.f_36)
- {
- return;
- }
- func_1877("TICK_TAKEN", 1);
- break;
- case 1913017082:
- if (Global_1383458.f_37)
- {
- return;
- }
- if (!func_1899(PLAYER::PLAYER_ID(), 1, 0))
- {
- func_13907(Var0.f_10, Var0.f_11, Var0.f_12, Var0.f_13, Var0.f_3);
- }
- Global_2524719.f_1673 = 1;
- Global_2524719.f_1675 = NETWORK::GET_NETWORK_TIME();
- break;
- case -1445591614:
- if (Global_1383458.f_38)
- {
- return;
- }
- if (!func_1899(PLAYER::PLAYER_ID(), 1, 0))
- {
- func_13907(Var0.f_10, Var0.f_11, Var0.f_12, Var0.f_13, Var0.f_3);
- }
- break;
- case -10028205:
- if (Global_1383458.f_39)
- {
- return;
- }
- if (!func_147(PLAYER::PLAYER_ID(), 1))
- {
- if (!func_1899(PLAYER::PLAYER_ID(), 1, 0))
- {
- if (Global_2524719.f_1647)
- {
- func_1877("IMPEX_HIPR_WRK", 1);
- }
- }
- }
- break;
- case 1380552011:
- if (Global_1383458.f_40)
- {
- return;
- }
- if (!func_147(PLAYER::PLAYER_ID(), 1))
- {
- if (!func_1899(PLAYER::PLAYER_ID(), 1, 0))
- {
- if (Global_2524719.f_1647)
- {
- func_1877("IMPEX_HIPR_NOL", 1);
- }
- }
- }
- break;
- case 723786828:
- if (Global_1383458.f_41)
- {
- return;
- }
- if (!func_147(PLAYER::PLAYER_ID(), 1))
- {
- if (MISC::IS_BIT_SET(Global_2437022.f_3747, 0))
- {
- func_1877("FM_GDM_TK1", 1);
- }
- }
- break;
- case -1550586884:
- if (Global_1383458.f_42)
- {
- return;
- }
- if (!NETWORK::NETWORK_IS_IN_TUTORIAL_SESSION())
- {
- func_1898("TICK_TC_BANK", Var0.f_3, 1);
- }
- break;
- case -1432462772:
- if (Global_1383458.f_43)
- {
- return;
- }
- func_1898("TICK_TC_STOL", Var0.f_3, 1);
- break;
- case 2110027654:
- if (Global_1383458.f_44)
- {
- return;
- }
- func_1898("TICK_TC_REMO", Var0.f_3, 1);
- break;
- case 2011721327:
- if (Global_1383458.f_95)
- {
- return;
- }
- if (func_10800(31, 0, 0) && func_10196(60000))
- {
- func_1877("ACD_TICKS", 1);
- }
- break;
- case -307116398:
- if (Global_1383458.f_96)
- {
- return;
- }
- if (func_10800(31, 0, 0) && func_10196(60000))
- {
- func_1877("ACD_TSC0", 1);
- }
- break;
- case -1333774104:
- if (Global_1383458.f_97)
- {
- return;
- }
- if (func_10800(31, 0, 0) && func_10196(60000))
- {
- func_1877("ACD_TDROP", 1);
- }
- break;
- case 1983332307:
- if (Global_1383458.f_98)
- {
- return;
- }
- if (func_10800(31, 0, 0) && func_10196(60000))
- {
- func_1877("ACD_TSDROP", 1);
- }
- break;
- case 1408310635:
- if (Global_1383458.f_99)
- {
- return;
- }
- if (func_10800(31, 0, 0) && func_10196(60000))
- {
- func_1499("ACD_TPLAY", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -1473935130:
- if (Global_1383458.f_100)
- {
- return;
- }
- if (func_10800(31, 0, 0) && func_10196(60000))
- {
- func_1499("ACD_TSPLAY", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- break;
- case 2113716496:
- if (Global_1383458.f_101)
- {
- return;
- }
- if (func_10800(31, 0, 0) && func_10196(60000))
- {
- func_1877("ACD_TRIVC", 1);
- }
- break;
- case -1076775707:
- if (Global_1383458.f_102)
- {
- return;
- }
- if (func_10800(31, 0, 0) && func_10196(60000))
- {
- func_1499("ACD_TPLAD", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- break;
- case 835585483:
- if (Global_1383458.f_103)
- {
- return;
- }
- if (func_10800(31, 0, 0) && func_10196(60000))
- {
- func_1877("ACD_TTIMO", 1);
- }
- break;
- case 554851531:
- if (Global_1383458.f_104)
- {
- return;
- }
- func_1499("PM_KYTKR", Var0.f_10, 0, 0, 0, 1, 1, 0);
- break;
- case 345564373:
- if (Global_1383458.f_105)
- {
- return;
- }
- func_1499("TCK_ELM", Var0.f_10, 0, 0, 0, 1, 1, 0);
- break;
- case 1395926542:
- if (Global_1383458.f_107)
- {
- return;
- }
- if (func_10800(61, 0, 0))
- {
- func_1499("AMD_TPLYL", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -1530412138:
- if (Global_1383458.f_108)
- {
- return;
- }
- if (func_10800(61, 0, 0))
- {
- func_1499("AMD_TPLYC", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -1847667036:
- if (Global_1383458.f_272)
- {
- return;
- }
- func_1499("AMD_BALLL", Var0.f_10, 0, 0, 0, 1, 1, 0);
- break;
- case -1794758144:
- if (Global_1383458.f_273)
- {
- return;
- }
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("AMD_BALLC1", 1);
- }
- else
- {
- func_1499("AMD_BALLC", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- break;
- case 1095428883:
- if (Global_1383458.f_109)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 != PLAYER::PLAYER_ID())
- {
- func_1499("ABB_TPLYC", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- if (Var0.f_3 != -1 && Var0.f_3 < 8)
- {
- Global_1623942[Var0.f_3 /*17*/].f_4 = 1;
- }
- }
- }
- break;
- case -53425260:
- if (Global_1383458.f_110)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1499("PTD_TPLYS", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case 1513549393:
- if (Global_1383458.f_111)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1877("PTD_TCRSH", 1);
- }
- }
- break;
- case -2866549:
- if (Global_1383458.f_112)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1877("PTD_TESCP", 1);
- }
- }
- break;
- case -338055497:
- if (Global_1383458.f_113)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1499("PTD_TPLYSH", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case -1395418479:
- if (Global_1383458.f_114)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1877("PTD_TCRSHH", 1);
- }
- }
- break;
- case -784755894:
- if (Global_1383458.f_115)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1877("PTD_TESCPH", 1);
- }
- }
- break;
- case -1370080628:
- if (Global_1383458.f_116)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1877("DCP_TESCP", 1);
- }
- }
- break;
- case 1220603816:
- if (Global_1383458.f_117)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1877("DSV_TCRSH", 1);
- }
- }
- break;
- case 1892805918:
- if (Global_1383458.f_118)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1499("DSV_TPLYS", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case -1446847260:
- if (Global_1383458.f_119)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1499("DSV_TTEXP", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case -816415198:
- if (Global_1383458.f_121)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (!func_6644(10) && !func_6644(0))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_11 == PLAYER::PLAYER_ID())
- {
- iVar6 = 1;
- }
- func_13906("HTV_TCDESP", Var0.f_10, Var0.f_11, iVar5, iVar6, 0, 0, 1);
- }
- }
- }
- break;
- case 296812420:
- if (Global_1383458.f_124)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (!func_6644(10) && !func_6644(0))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_13905("HTV_TCABA2", Var0.f_10, &(Var0.f_6), iVar5, 0, 0, 0, 1);
- }
- }
- }
- break;
- case 515254477:
- if (Global_1383458.f_130)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (!func_6644(4) && !func_6644(0))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_13904("DD_TCPCL", Var0.f_10, iVar5, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case 282614897:
- if (Global_1383458.f_131)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (!func_6644(4) && !func_6644(0))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_13904("DD_TCPDL", Var0.f_10, iVar5, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case -508554358:
- if (Global_1383458.f_132)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (!func_6644(4) && !func_6644(0))
- {
- if (func_12821(Var0.f_10, 0, 1))
- {
- func_13904("DD_TCDPK", Var0.f_10, iVar5, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case 319483971:
- if (Global_1383458.f_134)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (!func_6644(4) && !func_6644(0))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1877("DD_TCDTE", 1);
- }
- }
- }
- break;
- case 1678749454:
- if (Global_1383458.f_140)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (!func_6644(8))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1499("UW_TCABA", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case 218738618:
- if (Global_1383458.f_141)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (!func_6644(8))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1898("UW_TCEXP", Var0.f_3, 1);
- }
- }
- }
- break;
- case 840666990:
- if (Global_1383458.f_142)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (!func_6644(8))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- func_1877("UW_TAVAIL", 1);
- }
- }
- }
- break;
- case -784133606:
- if (Global_1383458.f_144)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (!NETWORK::NETWORK_IS_IN_TUTORIAL_SESSION())
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (func_1486(PLAYER::PLAYER_ID()) == 136)
- {
- if (!func_6644(11))
- {
- if (Var0.f_10 != PLAYER::PLAYER_ID())
- {
- func_13904("PEN_KNOCKP", Var0.f_10, 1, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- else if (func_1486(PLAYER::PLAYER_ID()) == 236)
- {
- if (Var0.f_10 != PLAYER::PLAYER_ID())
- {
- func_13904("BBTI_KOa", Var0.f_10, 1, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- }
- }
- break;
- case 1695646769:
- if (Global_1383458.f_143)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 != PLAYER::PLAYER_ID())
- {
- func_1499("UW_KILLT", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- else
- {
- func_1877("UW_KILLTY", 1);
- }
- }
- }
- break;
- case 702987651:
- if (Global_1383458.f_145)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 != PLAYER::PLAYER_ID())
- {
- func_1499("HUNT_TCKL", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case 604276286:
- if (Global_1383458.f_207)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 != PLAYER::PLAYER_ID())
- {
- func_1499("DCONTRA_TCK1", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case -1315622160:
- if (Global_1383458.f_208)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 0, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1898("GB_COUT_TICK_00", Var0.f_3, 1);
- }
- else
- {
- func_1552("GB_COUT_TICK_01", Var0.f_10, Var0.f_3, 0, 0, 0, 1);
- }
- }
- }
- break;
- case -1562973225:
- if (Global_1383458.f_209)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 0, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1898("GB_COUT_TICK_02", Var0.f_3, 1);
- }
- else
- {
- func_1552("GB_COUT_TICK_03", Var0.f_10, Var0.f_3, 0, 0, 0, 1);
- }
- }
- }
- break;
- case 240773910:
- if (Global_1383458.f_210)
- {
- return;
- }
- if ((func_12821(Var0.f_10, 1, 1) && func_5188(1, 1, 1)) && !func_13903(173))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_FG_T_UDLVR", 1);
- }
- else
- {
- func_1499("GB_FG_T_DLVR", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case -754771570:
- if (Global_1383458.f_211)
- {
- return;
- }
- if ((func_12821(Var0.f_10, 1, 1) && func_5188(1, 1, 1)) && !func_13903(173))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_FG_T_UHOOK", 1);
- }
- else
- {
- func_1499("GB_FG_T_HOOK", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case -74895845:
- if (Global_1383458.f_212)
- {
- return;
- }
- if ((func_12821(Var0.f_10, 1, 1) && func_5188(1, 1, 1)) && !func_13903(173))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_FG_T_UUNHOOK", 1);
- }
- else
- {
- func_1499("GB_FG_T_UNHOOK", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case 1009196241:
- if (Global_1383458.f_214)
- {
- return;
- }
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID() || Var0.f_11 == PLAYER::PLAYER_ID())
- {
- if (Var0.f_3 == 1)
- {
- func_13902(87, Var0.f_10, Var0.f_11, -1, "GBSAL_DRAW", "GB_WORK_DRAW", 1, -1, 2, 0, 0, 0);
- func_13901(1, func_15298());
- }
- else if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1800(87, "GB_WINNER", "GBSAL_WIN", 1, -1, 2, 1);
- func_13901(1, Var0.f_10);
- func_13862(1, 1, 0, 0, -1, -1, -1, -1, -1, 0);
- }
- else
- {
- if (Var0.f_4 == 1)
- {
- func_6058(88, Var0.f_10, Var0.f_4, "GBSAL_LOSE", "GB_CHAL_OVER", 1, -1, 2, -1);
- }
- else
- {
- func_6058(88, Var0.f_10, Var0.f_4, "GBSAL_LOSE", "GB_CHAL_OVER", 1, -1, 2, -1);
- }
- func_13901(1, Var0.f_10);
- func_13862(0, 2, 0, 0, -1, -1, -1, -1, -1, 0);
- }
- }
- else
- {
- func_6058(88, Var0.f_10, -1, "GBSAL_LOSE", "GB_CHAL_OVER", 1, -1, 2, -1);
- func_13901(1, Var0.f_10);
- }
- }
- break;
- case 16107197:
- if (Global_1383458.f_213)
- {
- return;
- }
- Global_2503695 = 1;
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- Global_2503696 = 1;
- func_1877("GBSAL_COLL", 1);
- if (func_943(1))
- {
- AUDIO::PLAY_SOUND_FRONTEND(-1, "Boss_Message_Orange", "GTAO_Biker_FM_Soundset", false);
- }
- else
- {
- AUDIO::PLAY_SOUND_FRONTEND(-1, "Boss_Message_Orange", "GTAO_Boss_Goons_FM_Soundset", false);
- }
- if (Var0.f_4 == 1)
- {
- }
- }
- else
- {
- if (func_76(PLAYER::PLAYER_ID()))
- {
- if (ENTITY::DOES_ENTITY_EXIST(func_1516()))
- {
- if (PED::IS_PED_A_PLAYER(func_1516()))
- {
- if (Var0.f_10 == NETWORK::NETWORK_GET_PLAYER_INDEX_FROM_PED(func_1516()))
- {
- if (func_943(1))
- {
- AUDIO::PLAY_SOUND_FRONTEND(-1, "Boss_Message_Orange", "GTAO_Biker_FM_Soundset", false);
- }
- else
- {
- AUDIO::PLAY_SOUND_FRONTEND(-1, "Boss_Message_Orange", "GTAO_Boss_Goons_FM_Soundset", false);
- }
- }
- }
- }
- }
- func_1499("GBSAL_PCOLL", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case -2103848319:
- if (Global_1383458.f_216)
- {
- return;
- }
- Global_2503693 = 1;
- Global_2503692 = 1;
- Global_2503691 = Var0.f_3;
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GBSAL_COPBRTH", 1);
- }
- else
- {
- func_1499("GBSAL_COLXBRTH", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case 2023047208:
- if (Global_1383458.f_215)
- {
- return;
- }
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GBSAL_IRBRTH", 1);
- }
- else
- {
- func_1499("GBSAL_XRBRTH", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case 550164648:
- if (Global_1383458.f_217)
- {
- return;
- }
- if (func_12821(Var0.f_10, 0, 1))
- {
- func_1877("GBFK_TEXP", 1);
- if (!Global_262145.f_12429)
- {
- func_13861(1);
- func_13860(0);
- }
- if (func_13859() && !Global_262145.f_12429)
- {
- func_513(0);
- }
- func_4791();
- if (Var0.f_10 == PLAYER::PLAYER_ID() || Var0.f_11 == PLAYER::PLAYER_ID())
- {
- if (Var0.f_3 == 1)
- {
- func_13902(87, Var0.f_10, Var0.f_11, -1, "GBSAL_DRAW", "GB_WORK_DRAW", 1, -1, 2, 0, 0, 0);
- func_13901(1, func_15298());
- func_13862(0, 7, 0, 0, -1, -1, -1, -1, -1, 0);
- }
- else if (Var0.f_3 == 3)
- {
- func_1800(88, "GB_CHAL_OVER", "GBFK_DRAW", 1, -1, 2, 1);
- func_13901(1, Var0.f_10);
- func_13862(0, 2, 0, 0, -1, -1, -1, -1, -1, 0);
- }
- else if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1800(87, "GB_WINNER", "GBSAL_WIN", 1, -1, 2, 1);
- func_13901(1, Var0.f_10);
- func_13862(1, 1, 0, 0, -1, -1, -1, -1, -1, 0);
- }
- else
- {
- if (Var0.f_4 == 1)
- {
- func_6058(88, Var0.f_10, Var0.f_4, "GBSAL_LOSE", "GB_CHAL_OVER", 1, -1, 2, -1);
- }
- else
- {
- func_6058(88, Var0.f_10, Var0.f_4, "GBSAL_LOSE", "GB_CHAL_OVER", 1, -1, 2, -1);
- }
- func_13901(1, Var0.f_10);
- func_13862(0, 2, 0, 0, -1, -1, -1, -1, -1, 0);
- }
- }
- else
- {
- if (Var0.f_3 == 1 || Var0.f_3 == 3)
- {
- func_1800(88, "GB_CHAL_OVER", "GBFK_DRAW", 1, -1, 2, 1);
- }
- else
- {
- func_6058(88, Var0.f_10, -1, "GBSAL_LOSE", "GB_CHAL_OVER", 1, -1, 2, -1);
- }
- func_13901(1, Var0.f_10);
- func_13862(0, 2, 0, 0, -1, -1, -1, -1, -1, 0);
- }
- }
- break;
- }
- switch (Var0.f_2)
- {
- case -97094214:
- if (Global_1383458.f_218)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_4 == 0)
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_CONT_TIC_a1", 1);
- }
- else
- {
- func_4970("GB_CONT_TIC_a0", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- else if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_CONT_TIC_a3", 1);
- }
- else
- {
- func_4970("GB_CONT_TIC_a2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -700552267:
- if (Global_1383458.f_219)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_579(Var0.f_10, 1))
- {
- sVar7 = func_4906(Var0.f_10);
- }
- else
- {
- sVar7 = PLAYER::GET_PLAYER_NAME(Var0.f_10);
- }
- if (Var0.f_4 == 1)
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_CONT_TIC_b1", 1);
- }
- else
- {
- func_4970("GB_CONT_TIC_b0", sVar7, func_3033(Var0.f_10), 1);
- }
- }
- else if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_CONT_TIC_b2", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("GB_CONT_TIC_b3", sVar7, func_3033(Var0.f_10), 1);
- }
- }
- break;
- case 206566336:
- if (Global_1383458.f_220)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_4 == 0)
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_CONT_TIC_c1", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("GB_CONT_TIC_c0", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- else if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_CONT_TIC_c3", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("GB_CONT_TIC_c2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case 501389812:
- if (Global_1383458.f_221)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_4 == 0)
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_CONT_TIC_d1", 1);
- }
- else
- {
- func_4970("GB_CONT_TIC_d0", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- else if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_CONT_TIC_d3", 1);
- }
- else
- {
- func_4970("GB_CONT_TIC_d2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -1298004251:
- if (Global_1383458.f_222)
- {
- return;
- }
- if (func_10196(60000))
- {
- func_4970("GB_CONT_TICK_S", func_4906(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- break;
- case -395412774:
- if (Global_1383458.f_223)
- {
- return;
- }
- if (func_10196(60000))
- {
- func_4970(func_13858(Var0.f_3), func_4906(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- break;
- case -498735741:
- if (Global_1383458.f_192)
- {
- return;
- }
- if (func_10196(60000))
- {
- func_1877("SCONTRA_JAMA", 1);
- }
- break;
- case 811944150:
- if (Global_1383458.f_225)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_11, 0, 1))
- {
- if (func_942(PLAYER::PLAYER_ID()) == 190)
- {
- func_4970("BK_SELL_TICK_4", func_4906(Var0.f_11), func_3033(Var0.f_11), 1);
- }
- else
- {
- func_4970("GB_SELL_TICK_4", func_4906(Var0.f_11), func_3033(Var0.f_11), 1);
- }
- HUD::FLASH_MINIMAP_DISPLAY();
- func_11323(PLAYER::PLAYER_ID(), 1, 7000);
- }
- }
- break;
- case -1936666384:
- if (Global_1383458.f_233)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("VEX_GOT_PAPSb", 1);
- }
- else
- {
- func_4970("VEX_GOT_PAPS", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case 531679075:
- if (Global_1383458.f_239)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("VEX_GOT_SCHDb", 1);
- }
- else
- {
- func_4970("VEX_GOT_SCHD", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -373359106:
- if (Global_1383458.f_234)
- {
- return;
- }
- if (func_10196(60000))
- {
- func_1877("VEX_GOT_KEYS", 1);
- }
- break;
- case 115137548:
- if (Global_1383458.f_226)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 != func_15298())
- {
- MISC::SET_BIT(&(Global_2524719.f_1734), Var0.f_10);
- }
- }
- break;
- case -1445012109:
- if (Global_1383458.f_227)
- {
- return;
- }
- if (func_10196(60000) && NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- if (func_579(Var0.f_10, 1))
- {
- sVar8 = func_4906(Var0.f_10);
- }
- else
- {
- sVar8 = PLAYER::GET_PLAYER_NAME(Var0.f_10);
- }
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("VEX_DES_TICKa", 1);
- if (Var0.f_4 == 2)
- {
- if (!func_1475())
- {
- if (!HUD::IS_HELP_MESSAGE_BEING_DISPLAYED())
- {
- func_645("VEX_NORWDDESHP", -1);
- }
- }
- }
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("VEX_DES_TICKb", sVar8, func_3033(Var0.f_10), 1);
- }
- }
- break;
- case 2122708223:
- if (Global_1383458.f_228)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_4 == 0)
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_CONT_TIC_c1", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("GB_CONT_TIC_c0", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- else if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GB_CONT_TIC_c3", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("GB_CONT_TIC_c2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -231888667:
- if (Global_1383458.f_229)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("VEX_LOS_TICKb", 1);
- }
- else
- {
- func_4970("VEX_LOS_TICKa", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -319920363:
- if (Global_1383458.f_232)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_11, 0, 1))
- {
- if (Var0.f_4 > 1)
- {
- sVar9 = "VEX_SELLTICK_1";
- }
- else
- {
- sVar9 = "VEX_SELLTICK_0";
- }
- func_4970(sVar9, func_4906(Var0.f_11), func_3033(Var0.f_11), 1);
- HUD::FLASH_MINIMAP_DISPLAY();
- func_11323(PLAYER::PLAYER_ID(), 1, 7000);
- }
- }
- break;
- case 208345088:
- if (Global_1383458.f_266)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_11, 0, 1))
- {
- if (func_589() == Var0.f_11)
- {
- if (Var0.f_4 == 1)
- {
- sVar10 = "GR_VISTKR_SELL";
- }
- else
- {
- sVar10 = "GR_VISTKR_BUY";
- }
- func_4970(sVar10, func_4906(Var0.f_11), func_3033(Var0.f_11), 1);
- HUD::FLASH_MINIMAP_DISPLAY();
- func_11323(PLAYER::PLAYER_ID(), 1, 7000);
- }
- else if (((func_5188(1, 1, 1) && !func_1526(PLAYER::PLAYER_ID())) && !func_1485(PLAYER::PLAYER_ID())) && !func_5172())
- {
- sVar10 = "ENMY_GUN_TICK";
- func_4970(sVar10, func_4906(Var0.f_11), func_3033(Var0.f_11), 1);
- HUD::FLASH_MINIMAP_DISPLAY();
- if (func_3612(PLAYER::PLAYER_ID()))
- {
- if (!Global_2449169.f_3068.f_195)
- {
- func_2046(func_8036(), "ENMY_GUN_TXT", 1, 0, 0, 0, 0, 1, 0, 1);
- Global_2449169.f_3068.f_195 = 1;
- }
- }
- }
- }
- }
- break;
- case -683209888:
- if (Global_1383458.f_267)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- if (Var0.f_4 == 0)
- {
- func_1877("GR_COLLTD_SUPb", 1);
- }
- else
- {
- func_1877("GR_COLLTD_CRTb", 1);
- }
- }
- else if (Var0.f_4 == 0)
- {
- func_1499("GR_COLLTD_SUPa", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- else
- {
- func_1499("GR_COLLTD_CRTa", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case -1837547828:
- if (Global_1383458.f_268)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- if (Var0.f_4 == 0)
- {
- func_1877("GR_DRPD_SUPb", 1);
- }
- else
- {
- func_1877("GR_DRPD_CRTb", 1);
- }
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- if (Var0.f_4 == 0)
- {
- func_4970("GR_DRPD_SUPa", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- else
- {
- func_4970("GR_DRPD_CRTa", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- }
- break;
- case 1949273801:
- if (Global_1383458.f_269)
- {
- return;
- }
- if (func_10196(60000) && NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- if (func_579(Var0.f_10, 1))
- {
- sVar11 = func_4906(Var0.f_10);
- }
- else
- {
- sVar11 = PLAYER::GET_PLAYER_NAME(Var0.f_10);
- }
- if (func_36(Var0.f_10, Var0.f_11))
- {
- if (func_36(Var0.f_11, PLAYER::PLAYER_ID()))
- {
- bVar12 = false;
- }
- else
- {
- bVar12 = true;
- }
- }
- else if (func_36(Var0.f_10, PLAYER::PLAYER_ID()))
- {
- bVar12 = true;
- }
- else if (func_36(Var0.f_11, PLAYER::PLAYER_ID()))
- {
- bVar12 = false;
- }
- else
- {
- bVar12 = true;
- }
- if (bVar12)
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_4970("GR_DES_TICKe", sVar11, func_3033(Var0.f_10), 1);
- }
- else
- {
- func_4970("GR_DES_TICKf", sVar11, func_3033(Var0.f_10), 1);
- }
- }
- else if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- if (Var0.f_4 == 2)
- {
- func_1877("GR_DES_TICKc", 1);
- }
- else
- {
- func_1877("GR_DES_TICKa", 1);
- }
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- if (Var0.f_4 == 2)
- {
- func_4970("GR_DES_TICKd", sVar11, func_3033(Var0.f_10), 1);
- }
- else
- {
- func_4970("GR_DES_TICKb", sVar11, func_3033(Var0.f_10), 1);
- }
- }
- }
- break;
- case 2072246380:
- if (Global_1383458.f_270)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 != func_15298())
- {
- MISC::SET_BIT(&(Global_2524719.f_1735), Var0.f_10);
- if (Var0.f_4 == 1)
- {
- MISC::SET_BIT(&(Global_2524719.f_1735), 31);
- }
- }
- }
- break;
- case 1446758869:
- if (Global_1383458.f_271)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 != func_15298())
- {
- if (func_579(Var0.f_10, 1))
- {
- if (Var0.f_11 != func_15298())
- {
- func_13134(func_13857(1, Var0.f_3), func_4906(Var0.f_10), func_4906(Var0.f_11), func_3033(Var0.f_10), func_3033(Var0.f_11), 1);
- }
- else
- {
- func_4970(func_13857(0, Var0.f_3), func_4906(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- else if (Var0.f_11 != func_15298())
- {
- func_6052(func_13857(1, Var0.f_3), Var0.f_10, func_4906(Var0.f_11), 1, func_3033(Var0.f_11), 0, 0, 1);
- }
- else
- {
- func_1499(func_13857(0, Var0.f_3), Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case -1110566407:
- if (Global_1383458.f_275)
- {
- return;
- }
- if (func_10196(60000) && func_12821(Var0.f_11, 0, 1))
- {
- func_13849(Var0.f_11, Var0.f_4);
- }
- break;
- case 1120930426:
- if (Global_1383458.f_276)
- {
- return;
- }
- if (func_10196(60000) && func_12821(Var0.f_10, 0, 1))
- {
- func_13848(Var0.f_10, Var0.f_11, Var0.f_3);
- }
- break;
- case 631165512:
- if (Global_1383458.f_277)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_4 == 0)
- {
- func_13847(Var0.f_10, Var0.f_11, Var0.f_3);
- }
- else
- {
- func_13846(Var0.f_10, Var0.f_3);
- }
- }
- break;
- case 1369534593:
- if (Global_1383458.f_274)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 != func_15298())
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_613("GRH_DIV_ENT", &(Var0.f_6), 0, 0, 0, 1);
- }
- else
- {
- func_7486("GRH_DIV_ENTR", Var0.f_10, &(Var0.f_6), 0, 0, 0, 1);
- }
- }
- }
- break;
- case 907338886:
- if (Global_1383458.f_278)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_1 == PLAYER::PLAYER_ID())
- {
- func_1877("GOFA_RVL_Y", 1);
- }
- else if (func_2985())
- {
- func_1877("GOFA_RVL_B", 1);
- }
- else if (func_578())
- {
- if (func_2845(PLAYER::PLAYER_ID()))
- {
- func_1877("GOFA_RVL_C", 1);
- }
- else
- {
- func_1877("GOFA_RVL_V", 1);
- }
- }
- }
- break;
- case 899448697:
- if (Global_1383458.f_279)
- {
- return;
- }
- if (func_10196(60000) && func_589() != func_15298())
- {
- StringCopy(&Var13, func_618(func_8268(func_589()), 1), 16);
- func_6052("SMRD_FMH_STIC", Var0.f_1, func_4906(Var0.f_10), func_3033(Var0.f_1), func_3033(Var0.f_10), 0, 0, 1);
- if (func_578())
- {
- func_4816("SMRD_FMH_STOLU", &Var13, -1);
- }
- else if (func_943(0))
- {
- func_4816("SMRD_FMH_STOLB", &Var13, -1);
- }
- else if (func_1418(0))
- {
- if (func_2845(func_589()))
- {
- func_4816("SMRD_FMH_STOLC", &Var13, -1);
- }
- else
- {
- func_4816("SMRD_FMH_STOLV", &Var13, -1);
- }
- }
- }
- break;
- case -324694967:
- if (Global_1383458.f_235)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 != PLAYER::PLAYER_ID())
- {
- func_1499("FULLY_TCKDES", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- else
- {
- func_1877("FULLY_TCKDESNP", 1);
- }
- }
- break;
- case -43727610:
- if (Global_1383458.f_236)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("IE_STK_TCK_01", 1);
- }
- else
- {
- func_1499("IE_STK_TCK_01b", Var0.f_10, 0, 0, 0, 1, 1, 0);
- AUDIO::PLAY_SOUND_FRONTEND(-1, "Crate_Pickup_Remote", "DLC_IE_Vip_Stockpile_Sounds", false);
- }
- }
- }
- break;
- case 1641976889:
- if (Global_1383458.f_237)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("IE_STK_TCK_02", 1);
- }
- else
- {
- func_1499("IE_STK_TCK_02b", Var0.f_10, 0, 0, 0, 1, 1, 0);
- AUDIO::PLAY_SOUND_FRONTEND(-1, "Crate_Destroy_Remote", "DLC_IE_Vip_Stockpile_Sounds", false);
- }
- }
- }
- break;
- case -1918592552:
- if (Global_1383458.f_238)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("IE_VEL_TCK_01", 1);
- }
- else
- {
- func_1499("IE_VEL_TCK_02", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- if (Global_1673161 == 0)
- {
- Global_1673161 = 1;
- }
- }
- }
- break;
- case 1082546806:
- if (Global_1383458.f_264)
- {
- return;
- }
- if (PLAYER::PLAYER_ID() == Var0.f_10)
- {
- func_1877("GB_STEALDELP", 1);
- }
- else
- {
- func_1499("GB_STEALDELAP", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- break;
- case 18508630:
- if (Global_1383458.f_257)
- {
- return;
- }
- if (func_36(PLAYER::PLAYER_ID(), Var0.f_10))
- {
- if (PLAYER::PLAYER_ID() == Var0.f_10)
- {
- func_1877("GB_UNLOADDIECRb", 1);
- }
- else
- {
- func_1499("GB_UNLOADDIECRA", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case 872980436:
- if (Global_1383458.f_265)
- {
- return;
- }
- func_1877("GB_STEALGLOB", 1);
- break;
- case 1590208400:
- if (Global_1383458.f_260)
- {
- return;
- }
- func_1877("GB_STEALDESTROYED", 1);
- break;
- case -1205772980:
- if (Global_1383458.f_240)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("BRS_DEL_TICKb", 1);
- }
- else
- {
- func_4970("BRS_DEL_TICKa", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -2115279011:
- if (Global_1383458.f_255)
- {
- return;
- }
- if (func_4172(Var0.f_10, func_589(), 1))
- {
- if (Var0.f_3 == 1)
- {
- if (func_12821(func_589(), 1, 1))
- {
- if (!func_13845(func_589()))
- {
- func_1877("GB_TICK_FASI", 1);
- }
- else
- {
- func_1877("GB_TICK_FASIb", 1);
- }
- }
- }
- else if (func_12821(func_589(), 1, 1))
- {
- if (!func_13845(func_589()))
- {
- func_1877("GB_TICK_FANO", 1);
- }
- else
- {
- func_1877("GB_TICK_FANOb", 1);
- }
- }
- }
- break;
- case -320338543:
- if (Global_1383458.f_254)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_579(Var0.f_10, 1))
- {
- sVar14 = func_13844(Var0.f_10);
- }
- else
- {
- sVar14 = PLAYER::GET_PLAYER_NAME(Var0.f_10);
- }
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("SLL_DES_TICKa", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("SLL_DES_TICKb", sVar14, func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -957727376:
- if (Global_1383458.f_256)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_579(Var0.f_10, 1))
- {
- sVar15 = func_13844(Var0.f_10);
- }
- else
- {
- sVar15 = PLAYER::GET_PLAYER_NAME(Var0.f_10);
- }
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("BSC_TICK_UDEL", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- if (func_2342(PLAYER::PLAYER_ID()) != 0)
- {
- func_4970("BSC_TICK_DEL", sVar15, func_3033(Var0.f_10), 1);
- }
- }
- }
- break;
- case 962028193:
- if (Global_1383458.f_241)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_579(Var0.f_10, 1))
- {
- sVar16 = func_13844(Var0.f_10);
- }
- else
- {
- sVar16 = PLAYER::GET_PLAYER_NAME(Var0.f_10);
- }
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("BRS_DES_TICKa", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- if (!func_36(PLAYER::PLAYER_ID(), Var0.f_10))
- {
- func_4970("BRS_DES_TICKb", sVar16, func_3033(Var0.f_10), 1);
- }
- }
- }
- break;
- case -916417229:
- if (Global_1383458.f_242)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_4 == 0)
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("BRS_LST_c4", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("BRS_LST_c0", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- else if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("BRS_LST_c3", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("BRS_LST_c2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -996936862:
- if (Global_1383458.f_243)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("BRS_LOS_TICKb", 1);
- }
- else
- {
- func_4970("BRS_LOS_TICKa", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case 1946605908:
- if (Global_1383458.f_244)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_12821(Var0.f_11, 0, 1))
- {
- sVar17 = func_4906(Var0.f_11);
- if (MISC::IS_STRING_NULL_OR_EMPTY(sVar17))
- {
- func_1877("BRS_GBLVIS_1", 1);
- }
- else
- {
- func_4970("BRS_GBLVIS_0", sVar17, func_3033(Var0.f_11), 1);
- }
- HUD::FLASH_MINIMAP_DISPLAY();
- func_11323(PLAYER::PLAYER_ID(), 1, 7000);
- }
- }
- break;
- case -2042974830:
- if (Global_1383458.f_245)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("FOF_TICK_COL", 1);
- }
- else
- {
- func_4970("FOF_TICK_COL2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -1640328198:
- if (Global_1383458.f_246)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("FOF_TICK_DROP", 1);
- }
- else
- {
- func_4970("FOF_TICK_DROP2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -1428950535:
- if (Global_1383458.f_247)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("FOF_TICK_DEL", 1);
- }
- else
- {
- func_4970("FOF_TICK_DEL2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case -452372621:
- if (Global_1383458.f_248)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("BKDL_TK_COL1", 1);
- }
- else
- {
- func_4970("BKDL_TK_COL2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case 747511033:
- if (Global_1383458.f_251)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("DGUN_TK_COL1", 1);
- }
- else
- {
- func_4970("DGUN_TK_COL2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case 1615078849:
- if (Global_1383458.f_249)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("BKDL_TK_DROP1", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("BKDL_TK_DROP2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- else
- {
- func_1877("BKDL_TK_DROP3", 1);
- }
- }
- break;
- case -458328083:
- if (Global_1383458.f_252)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("DGUN_TK_DROP1", 1);
- }
- else if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_4970("DGUN_TK_DROP2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- else
- {
- func_1877("DGUN_TK_DROP3", 1);
- }
- }
- break;
- case 1877019158:
- if (Global_1383458.f_250)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("BKDL_TK_DEL1", 1);
- }
- else
- {
- func_4970("BKDL_TK_DEL2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case 1055860763:
- if (Global_1383458.f_253)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("DGUN_TK_DEL1", 1);
- }
- else
- {
- func_4970("DGUN_TK_DEL2", PLAYER::GET_PLAYER_NAME(Var0.f_10), func_3033(Var0.f_10), 1);
- }
- }
- break;
- case 885668437:
- if (Global_1383458.f_258)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_5188(1, 1, 1) && func_2342(PLAYER::PLAYER_ID()) > 0)
- {
- if (Var0.f_10 != func_15298())
- {
- func_1499("SHU_TK_DEL", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case -1232283930:
- if (Global_1383458.f_259)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_5188(1, 1, 1) && func_2342(PLAYER::PLAYER_ID()) > 0)
- {
- if (Var0.f_10 != func_15298())
- {
- func_1499("BA_TK_DEST", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case -1620534525:
- if (Global_1383458.f_263)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_5188(1, 1, 1) && func_2342(PLAYER::PLAYER_ID()) > 0)
- {
- if (Var0.f_10 != func_15298())
- {
- func_13904("DV_TICK_2", Var0.f_10, func_1503(Var0.f_10, -2, 0, 0, 0), 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case -900126131:
- if (Global_1383458.f_262)
- {
- return;
- }
- if (func_10196(60000))
- {
- if (func_5188(1, 1, 1) && func_2342(PLAYER::PLAYER_ID()) > 0)
- {
- if (Var0.f_10 != func_15298())
- {
- func_1499("SAD_TK_KILL", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case 436170208:
- if (Global_1383458.f_146)
- {
- return;
- }
- if (!func_10255(iVar1) && !NETWORK::NETWORK_PLAYER_IS_ROCKSTAR_DEV(PLAYER::PLAYER_ID()))
- {
- if (func_10196(60000))
- {
- if (func_12821(iVar1, 1, 1))
- {
- if (!func_12810(PLAYER::PLAYER_ID(), 0))
- {
- func_1499("SCTV_SYOU", iVar1, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- }
- break;
- case -1585576335:
- if (Global_1383458.f_147)
- {
- return;
- }
- if (!func_10255(iVar1) && !NETWORK::NETWORK_PLAYER_IS_ROCKSTAR_DEV(PLAYER::PLAYER_ID()))
- {
- if (func_10196(60000))
- {
- if (func_12821(iVar1, 1, 1))
- {
- if (!func_12810(PLAYER::PLAYER_ID(), 0))
- {
- func_1499("SCTV_SSYOU", iVar1, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- }
- break;
- case -2119652085:
- if (Global_1383458.f_45)
- {
- return;
- }
- func_1499("IDLE_KICK", iVar1, 0, 0, 0, 1, 1, 0);
- break;
- case 1542230744:
- if (Global_1383458.f_46)
- {
- return;
- }
- if (iVar2 != func_15298() && func_12821(iVar2, 0, 1))
- {
- func_12923("TCK_TOOKCUS", iVar1, Var0.f_10, 0, 0, 1);
- }
- else
- {
- func_1499("TCK_TOOKCUSAI", iVar1, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -1744383290:
- if (Global_1383458.f_47)
- {
- return;
- }
- func_1499("TCK_LEFTCUS", iVar1, 0, 0, 0, 1, 1, 0);
- break;
- case 538325405:
- if (Global_1383458.f_48)
- {
- return;
- }
- if (iVar2 != func_15298() && func_12821(iVar2, 0, 1))
- {
- switch (Var0.f_3)
- {
- case 0:
- StringCopy(&vVar3, "TCK_DELVINCUSTa", 24);
- break;
- case 1:
- StringCopy(&vVar3, "TCK_DELVINCUSTb", 24);
- break;
- case 2:
- StringCopy(&vVar3, "TCK_DELVINCUSTc", 24);
- break;
- case 3:
- StringCopy(&vVar3, "TCK_DELVINCUSTd", 24);
- break;
- }
- func_12923(&vVar3, iVar1, Var0.f_10, 0, 0, 1);
- }
- else
- {
- switch (Var0.f_3)
- {
- case 0:
- StringCopy(&vVar3, "TCK_DELVCUSTAIa", 24);
- break;
- case 1:
- StringCopy(&vVar3, "TCK_DELVCUSTAIb", 24);
- break;
- case 2:
- StringCopy(&vVar3, "TCK_DELVCUSTAIc", 24);
- break;
- case 3:
- StringCopy(&vVar3, "TCK_DELVCUSTAId", 24);
- break;
- }
- func_1499(&vVar3, iVar1, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -2144931524:
- if (Global_1383458.f_49)
- {
- return;
- }
- break;
- case 2131657996:
- if (Global_1383458.f_50)
- {
- return;
- }
- break;
- case -841045752:
- if (Global_1383458.f_51)
- {
- return;
- }
- break;
- case -912547995:
- if (Global_1383458.f_52)
- {
- return;
- }
- break;
- case -1007440236:
- if (Global_1383458.f_148)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- Var18 = { func_38(iVar1) };
- if (NETWORK::NETWORK_IS_FRIEND(&Var18))
- {
- }
- }
- break;
- case 1802792608:
- if (Global_1383458.f_151)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- func_13843("BC_RB", iVar1, Var0.f_3, 0, 0, 0);
- }
- break;
- case 394686232:
- if (Global_1383458.f_152)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- func_13843("BC_PB", iVar1, Var0.f_3, 0, 0, 0);
- }
- break;
- case 1264507432:
- if (Global_1383458.f_153)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- func_13843("BC_WR", iVar1, Var0.f_3, 0, 0, 0);
- }
- break;
- case -210487359:
- if (Global_1383458.f_154)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- iVar1 = Var0.f_11;
- iVar2 = Var0.f_10;
- if (func_12821(iVar2, 0, 1))
- {
- if (PLAYER::PLAYER_ID() == iVar2)
- {
- func_1898("GC_TCK_01", Var0.f_3, 1);
- }
- else if (PLAYER::PLAYER_ID() == iVar1)
- {
- func_1552("GC_TCK_02", iVar2, Var0.f_3, 0, 0, 0, 1);
- }
- else
- {
- func_1552("GC_TCK_00", iVar2, Var0.f_3, 0, 0, 0, 1);
- }
- }
- }
- break;
- case -48152463:
- if (Global_1383458.f_156)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- iVar1 = Var0.f_11;
- iVar2 = Var0.f_10;
- bVar4 = false;
- if (PLAYER::PLAYER_ID() == iVar2)
- {
- if (func_12821(iVar1, 0, 1))
- {
- if (!bVar4)
- {
- func_1499("GC_TCK_12", iVar1, 0, 0, 0, 1, 1, 0);
- }
- }
- else if (!bVar4)
- {
- func_1877("GC_TCK_14", 1);
- }
- }
- else if (PLAYER::PLAYER_ID() == iVar1)
- {
- if (func_12821(iVar2, 0, 1))
- {
- if (!bVar4)
- {
- func_1499("GC_TCK_16", iVar2, 0, 0, 0, 1, 1, 0);
- }
- }
- else if (!bVar4)
- {
- func_1877("GC_TCK_18", 1);
- }
- }
- else if (func_12821(iVar1, 0, 1) && func_12821(iVar2, 0, 1))
- {
- if (!bVar4)
- {
- func_12923("GC_TCK_10", iVar1, iVar2, 0, 0, 1);
- }
- }
- }
- break;
- case -1771971111:
- if (Global_1383458.f_155)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- iVar1 = Var0.f_11;
- if (PLAYER::PLAYER_ID() == iVar1)
- {
- func_1877("GC_TCK_18", 1);
- }
- }
- break;
- case -1369961623:
- if (Global_1383458.f_157)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- iVar1 = Var0.f_11;
- iVar2 = Var0.f_10;
- if (func_12821(iVar2, 0, 1))
- {
- if (PLAYER::PLAYER_ID() == iVar2)
- {
- func_1499("GC_TCK_91", iVar1, 0, 0, 0, 1, 1, 0);
- }
- else if (PLAYER::PLAYER_ID() == iVar1)
- {
- func_1499("GC_TCK_90", iVar2, 0, 0, 0, 1, 1, 0);
- }
- else
- {
- func_12923("GC_TCK_92", iVar1, iVar2, 0, 0, 1);
- }
- }
- }
- break;
- case 1583919327:
- if (Global_1383458.f_158)
- {
- return;
- }
- if (!MISC::IS_BIT_SET(Global_4456448.f_16, 27))
- {
- func_1499("SPEC_TCK1", iVar1, 0, 0, 0, 1, 1, 0);
- }
- break;
- case 1723217930:
- if (Global_1383458.f_159)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() == iVar1)
- {
- if (func_12821(iVar2, 0, 1))
- {
- if (Var0.f_3 == 1)
- {
- func_1499("GC_TCK_25", iVar2, 0, 0, 0, 1, 1, 0);
- }
- else
- {
- func_1499("GC_TCK_22", iVar2, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- else if (PLAYER::PLAYER_ID() == iVar2)
- {
- if (func_12821(iVar1, 0, 1))
- {
- if (Var0.f_3 == 1)
- {
- func_1499("GC_TCK_24", iVar1, 0, 0, 0, 1, 1, 0);
- }
- else
- {
- func_1499("GC_TCK_21", iVar1, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- else if (func_12821(iVar1, 0, 1) && func_12821(iVar2, 0, 1))
- {
- if (Var0.f_3 == 1)
- {
- func_12923("GC_TCK_23", iVar1, iVar2, 0, 0, 1);
- }
- else
- {
- func_12923("GC_TCK_20", iVar1, iVar2, 0, 0, 1);
- }
- }
- }
- break;
- case -1476055326:
- if (Global_1383458.f_160)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() == iVar1)
- {
- func_1898("GC_TCK_41", Var0.f_3, 1);
- }
- else if (Var0.f_4 == 1)
- {
- func_1877("GC_TCK_95", 1);
- }
- else
- {
- func_1499("GC_TCK_94", iVar1, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case -2029924498:
- if (Global_1383458.f_190)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() == iVar1)
- {
- func_1877("GB_TCK_0", 1);
- }
- else if (func_2444(PLAYER::PLAYER_ID(), iVar1, 0))
- {
- if (func_2845(func_589()))
- {
- func_1877("GB_TCK_3C", 1);
- }
- else
- {
- func_1877("GB_TCK_3", 1);
- }
- }
- else if (!MISC::IS_STRING_NULL_OR_EMPTY(&(Var0.f_6)))
- {
- func_4970("GB_TCK_1", func_4906(iVar1), func_1503(iVar1, -2, 0, 0, 0), 1);
- }
- else
- {
- func_1877("GB_TCK_2", 1);
- }
- }
- break;
- case 650772739:
- if (Global_1383458.f_161)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() == iVar1)
- {
- func_1898("GC_TCK_81", Var0.f_3, 1);
- }
- else if (func_12821(iVar1, 0, 1))
- {
- func_1552("GC_TCK_80", iVar1, Var0.f_3, 0, 0, 0, 1);
- }
- }
- break;
- case -1432658982:
- if (Global_1383458.f_162)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() != iVar1 && PLAYER::PLAYER_ID() != Var0.f_11)
- {
- if (func_12821(iVar1, 0, 1) && func_12821(Var0.f_11, 0, 1))
- {
- func_12923("GC_TCK_74", iVar1, Var0.f_11, 0, 0, 1);
- }
- }
- }
- break;
- case 1461129904:
- if (Global_1383458.f_163)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() != iVar1 && PLAYER::PLAYER_ID() != Var0.f_11)
- {
- if (func_12821(iVar1, 0, 1) && func_12821(Var0.f_11, 0, 1))
- {
- func_12923("GC_TCK_93", iVar1, Var0.f_11, 0, 0, 1);
- }
- }
- }
- break;
- case 1572158274:
- if (Global_1383458.f_193)
- {
- return;
- }
- break;
- case -359302762:
- if (Global_1383458.f_194)
- {
- return;
- }
- break;
- case 1347970161:
- if (Global_1383458.f_164)
- {
- return;
- }
- if (PLAYER::PLAYER_ID() != iVar1)
- {
- if (func_12821(iVar1, 0, 1) && !func_783(iVar1, 1))
- {
- func_1499("PSYCHO_WARN2", iVar1, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case 1826587727:
- if (Global_1383458.f_165)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (!func_1521(PLAYER::PLAYER_ID()) && func_2337(0, 1, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("AMCH_POSCH", 1);
- }
- else
- {
- func_13904("AMCH_POSCH2", Var0.f_10, 1, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case 1615997358:
- if (Global_1383458.f_166)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (func_585(PLAYER::PLAYER_ID()))
- {
- if (!func_1521(PLAYER::PLAYER_ID()) && func_2337(0, 1, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("AMBC_POSCH", 1);
- }
- else
- {
- func_13904("AMBC_POSCH2", Var0.f_10, 1, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- }
- break;
- case 1542546957:
- if (Global_1383458.f_167)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- switch (Var0.f_4)
- {
- case 0:
- cVar19 = "AMCH_POS1";
- break;
- case 1:
- cVar19 = "AMCH_POS2";
- break;
- case 2:
- cVar19 = "AMCH_POS3";
- break;
- }
- if (Var0.f_3 != 0)
- {
- func_13842("AMCH_ATTEMPT2", Var0.f_10, &(Var0.f_6), cVar19, Var0.f_3, 1);
- }
- else
- {
- func_13841("AMCH_ATTEMPT2", Var0.f_10, &(Var0.f_6), cVar19, Var0.f_5, 1);
- }
- }
- break;
- case -1885171549:
- if (Global_1383458.f_168)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- switch (Var0.f_4)
- {
- case 0:
- cVar20 = "AMCH_POS1";
- break;
- case 1:
- cVar20 = "AMCH_POS2";
- break;
- case 2:
- cVar20 = "AMCH_POS3";
- break;
- }
- if (Var0.f_3 != 0)
- {
- func_13842("AMCH_BEATEN", Var0.f_10, &(Var0.f_6), cVar20, Var0.f_3, 1);
- }
- else
- {
- func_13841("AMCH_BEATEN", Var0.f_10, &(Var0.f_6), cVar20, Var0.f_5, 1);
- }
- }
- break;
- case 1748623315:
- if (Global_1383458.f_171)
- {
- return;
- }
- if (((func_12821(PLAYER::PLAYER_ID(), 0, 1) && !func_5171(17, 2481)) && !func_5171(0, 2481)) && !func_7269())
- {
- iVar21 = func_1847(joaat("mpply_timetrialbesttime"));
- if ((Var0.f_10 != func_15298() && Var0.f_3 > 0) && iVar21 > 0)
- {
- if (Var0.f_3 < iVar21)
- {
- func_13840("AMTT_BEATYOU", Var0.f_10, 1, Var0.f_3, 0, 0, 0, 1, 1, 0, 0);
- }
- else if (Var0.f_3 < Var0.f_4)
- {
- func_13840("AMTT_BEATPAR", Var0.f_10, 1, Var0.f_3, 0, 0, 0, 1, 1, 0, 0);
- }
- else
- {
- func_13840("AMTT_BEATNO", Var0.f_10, 1, Var0.f_3, 0, 0, 0, 1, 1, 0, 0);
- }
- }
- }
- break;
- case -429060448:
- if (Global_1383458.f_172)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- func_1877("GB_SACKED", 1);
- }
- break;
- case -1926407637:
- if (Global_1383458.f_184)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (func_12821(Var0.f_1, 0, 1))
- {
- if (Var0.f_3 == 1)
- {
- func_1499("GB_UBECOMEB", Var0.f_1, 0, 0, 0, 1, 1, 0);
- }
- else if (Var0.f_3 == 100)
- {
- func_1499("GB_UBECOMEC", Var0.f_1, 0, 0, 0, 1, 1, 0);
- }
- else
- {
- func_1499("GB_UBECOME", Var0.f_1, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case 888337179:
- if (Global_1383458.f_185)
- {
- return;
- }
- if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(PLAYER::PLAYER_ID()))
- {
- if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- if (func_943(1))
- {
- if (func_2985())
- {
- func_4979(59);
- }
- func_6052("GB_PROSJOINED", Var0.f_10, func_5992(), 1, func_1503(PLAYER::PLAYER_ID(), -2, 0, 0, 0), 0, 0, 1);
- }
- else if (func_2845(func_589()))
- {
- func_6052("GBGOONJOINEDC", Var0.f_10, func_5992(), 1, func_1503(PLAYER::PLAYER_ID(), -2, 0, 0, 0), 0, 0, 1);
- }
- else
- {
- func_6052("GB_GOONJOINED", Var0.f_10, func_5992(), 1, func_1503(PLAYER::PLAYER_ID(), -2, 0, 0, 0), 0, 0, 1);
- }
- }
- }
- break;
- case -418767572:
- if (Global_1383458.f_186)
- {
- return;
- }
- if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(PLAYER::PLAYER_ID()))
- {
- if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- if (func_2845(func_589()))
- {
- func_6052("GB_GOONLEFTd", Var0.f_10, func_5992(), 1, func_1503(PLAYER::PLAYER_ID(), -2, 0, 0, 0), 0, 0, 1);
- }
- else
- {
- func_6052("GB_GOONLEFT", Var0.f_10, func_5992(), 1, func_1503(PLAYER::PLAYER_ID(), -2, 0, 0, 0), 0, 0, 1);
- }
- }
- }
- break;
- case 88089733:
- if (Global_1383458.f_191)
- {
- return;
- }
- if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(PLAYER::PLAYER_ID()))
- {
- if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(Var0.f_10))
- {
- func_6052("GB_GOONREMOV", Var0.f_10, func_5992(), 1, func_1503(PLAYER::PLAYER_ID(), -2, 0, 0, 0), 0, 0, 1);
- }
- }
- break;
- case 1128583433:
- if (Global_1383458.f_187)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (func_12821(Var0.f_10, 0, 1) && Var0.f_10 != PLAYER::PLAYER_ID())
- {
- func_1499("GB_HTB_TICK0", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case 2128648125:
- if (Global_1383458.f_188)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- func_1499("GB_HTB_TICK1", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -101215037:
- if (Global_1383458.f_189)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- func_1499("GB_HTB_TICK2", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- break;
- case 1447446982:
- if (Global_1383458.f_173)
- {
- return;
- }
- if (func_6104(Var0.f_11, 1))
- {
- if (func_12821(Var0.f_10, 0, 1))
- {
- if (func_783(Var0.f_10, 1))
- {
- func_13904("GB_OTR_REMOUT", Var0.f_10, func_1503(Var0.f_10, -2, 0, 0, 0), 0, 0, 0, 1, 1, 0);
- }
- else
- {
- func_13904("GB_SFS_REMOUT", Var0.f_10, func_1503(Var0.f_10, -2, 0, 0, 0), 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case 436185525:
- if (Global_1383458.f_174)
- {
- return;
- }
- if (func_6104(Var0.f_11, 1))
- {
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() == Var0.f_10)
- {
- func_1877("GB_PR_TCK0", 1);
- }
- else
- {
- func_13904("GB_PR_TCK1", Var0.f_10, 1, 0, 0, 0, 1, 1, 0);
- }
- }
- }
- break;
- case -384880039:
- if (Global_1383458.f_175)
- {
- return;
- }
- if (func_6104(Var0.f_11, 1))
- {
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() == Var0.f_10)
- {
- func_1898("GB_PR_TCK2", Var0.f_3, 1);
- }
- else
- {
- func_1552("GB_PR_TCK3", Var0.f_10, Var0.f_3, 0, 0, 0, 1);
- }
- }
- }
- break;
- case 1325176233:
- if (Global_1383458.f_177)
- {
- return;
- }
- if (func_6104(Var0.f_11, 1))
- {
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() == Var0.f_10)
- {
- func_1898("GB_SNG_TCK0", Var0.f_3, 1);
- }
- else
- {
- func_1552("GB_SNG_TCK1", Var0.f_10, Var0.f_3, 0, 0, 0, 1);
- }
- }
- }
- break;
- case -1233071202:
- if (Global_1383458.f_178)
- {
- return;
- }
- if (func_6104(Var0.f_11, 1))
- {
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() == Var0.f_10)
- {
- func_1898("GB_SNG_TCK2", Var0.f_3, 1);
- }
- else
- {
- func_1552("GB_SNG_TCK3", Var0.f_10, Var0.f_3, 0, 0, 0, 1);
- }
- }
- }
- break;
- case -257968718:
- if (Global_1383458.f_179)
- {
- return;
- }
- if (func_6104(Var0.f_11, 1))
- {
- if (func_12821(PLAYER::PLAYER_ID(), 0, 1))
- {
- if (PLAYER::PLAYER_ID() == Var0.f_10)
- {
- func_1898("GB_SNG_TCK4", Var0.f_3, 1);
- }
- else
- {
- func_1552("GB_SNG_TCK5", Var0.f_10, Var0.f_3, 0, 0, 0, 1);
- }
- }
- }
- break;
- case 1337401234:
- if (Global_1383458.f_180)
- {
- return;
- }
- if (func_12821(Var0.f_10, 0, 1))
- {
- if (func_579(Var0.f_10, 1))
- {
- if (func_783(Var0.f_10, 1))
- {
- func_4970("GBTER_B_SAFE", func_4906(Var0.f_10), func_1503(Var0.f_10, -2, 0, 0, 0), 1);
- func_4718(13);
- }
- else
- {
- func_4970("GBTER_SAFE", func_4906(Var0.f_10), func_1503(Var0.f_10, -2, 0, 0, 0), 1);
- }
- }
- }
- break;
- case 1563949188:
- if (Global_1383458.f_181)
- {
- return;
- }
- if (func_2342(PLAYER::PLAYER_ID()) == 3)
- {
- if (func_12821(Var0.f_10, 0, 1))
- {
- if (PLAYER::PLAYER_ID() != Var0.f_10)
- {
- func_13904("GB_BB_T_DLVR", Var0.f_10, func_1503(Var0.f_10, -2, 0, 0, 0), 0, 0, 0, 1, 1, 0);
- }
- else
- {
- func_1877("GB_BB_T_UDLVR", 1);
- }
- }
- }
- break;
- case 931718501:
- if (Global_1383458.f_182)
- {
- return;
- }
- if (func_6104(Var0.f_11, 1))
- {
- if (func_12821(Var0.f_10, 0, 1))
- {
- if (PLAYER::PLAYER_ID() != Var0.f_10)
- {
- func_13904("GB_BB_T_STL", Var0.f_10, func_1503(Var0.f_10, -2, 0, 0, 0), 0, 0, 0, 1, 1, 0);
- }
- else
- {
- func_1877("GB_BB_T_USTL", 1);
- }
- }
- }
- break;
- case -1402572071:
- if (Global_1383458.f_183)
- {
- return;
- }
- if (!func_2344())
- {
- if (Var0.f_10 != func_15298())
- {
- if (func_12821(Var0.f_10, 0, 1))
- {
- if (PLAYER::PLAYER_ID() != Var0.f_10)
- {
- func_13904("GB_BB_T_DES", Var0.f_10, func_1503(Var0.f_10, -2, 0, 0, 0), 0, 0, 0, 1, 1, 0);
- }
- else
- {
- func_1877("GB_BB_T_UDES", 1);
- }
- }
- else
- {
- func_1877("GB_BB_T_MDES", 1);
- }
- }
- else
- {
- func_1877("GB_BB_T_MDES", 1);
- }
- }
- break;
- case -642210978:
- if (Global_1383458.f_202)
- {
- return;
- }
- if (func_12821(Var0.f_10, 1, 1))
- {
- if (Var0.f_10 == PLAYER::PLAYER_ID())
- {
- func_1877("GBFK_COLL", 1);
- if (Var0.f_4 == 1)
- {
- }
- }
- else
- {
- func_1499("GBFK_PCOLL", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- }
- break;
- case 891975000:
- if (Global_1383458.f_149)
- {
- return;
- }
- if (PLAYER::PLAYER_ID() != iVar1)
- {
- if (func_12821(iVar1, 0, 1) && func_12821(iVar2, 0, 1))
- {
- if (iVar1 == iVar2)
- {
- if (func_7603(iVar1))
- {
- func_1552("FM_BET_TKM", iVar1, Var0.f_3, 0, 0, 0, 1);
- }
- else
- {
- func_1552("FM_BET_TKF", iVar1, Var0.f_3, 0, 0, 0, 1);
- }
- }
- else
- {
- func_13839("FM_BET_TK", iVar1, iVar2, Var0.f_3, 0, 0, 0, 1);
- }
- }
- }
- break;
- case 2012013119:
- if (Global_1383458.f_150)
- {
- return;
- }
- if (PLAYER::PLAYER_ID() != iVar1)
- {
- func_13838("FM_BET_TKT", iVar1, Var0.f_3, Var0.f_4, 0, 0, 0, 1);
- }
- break;
- case 396931208:
- if (Global_1383458.f_195)
- {
- return;
- }
- if (func_12821(Var0.f_10, 0, 1))
- {
- func_13904("KOTC_1NOWK", Var0.f_10, iVar5, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -89603292:
- if (Global_1383458.f_196)
- {
- return;
- }
- if (func_12821(Var0.f_10, 0, 1))
- {
- func_13904("KOTC_1KLLDK", Var0.f_10, iVar5, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -1622818674:
- if (Global_1383458.f_199)
- {
- return;
- }
- if (func_12821(Var0.f_10, 0, 1))
- {
- func_13904("HPT_TKCOLL", Var0.f_10, iVar5, 0, 0, 0, 1, 1, 0);
- }
- break;
- case -1556848998:
- if (Global_1383458.f_200)
- {
- return;
- }
- if (func_12821(Var0.f_10, 0, 1))
- {
- func_13904("HPT_TKDROP", Var0.f_10, iVar5, 0, 0, 0, 1, 1, 0);
- }
- break;
- case 1665401020:
- if (Global_1383458.f_204)
- {
- return;
- }
- if (func_12821(Var0.f_10, 0, 1))
- {
- func_1499("GRIEF_TICK_KIL", Var0.f_10, 0, 0, 0, 1, 1, 0);
- }
- break;
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement