Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void func_13789(int iParam0)
- {
- vector3 vVar0;
- int iVar1;
- if (SCRIPT::GET_EVENT_DATA(1, iParam0, &vVar0, 4))
- {
- iVar1 = vVar0.y;
- if (func_13825(vVar0.z))
- {
- return;
- }
- switch (vVar0.z)
- {
- case -636207820:
- if (Global_1383397.f_14)
- {
- return;
- }
- break;
- case 1853947092:
- if (Global_1383397.f_16)
- {
- return;
- }
- func_13824("CnCTG_IN_BF", 2147483647, 1);
- break;
- case 1521659217:
- if (Global_1383397.f_17)
- {
- return;
- }
- if (!MISC::IS_BIT_SET(iLocal_308, 18))
- {
- if (func_12821(PLAYER::PLAYER_ID(), 1, 1))
- {
- if (func_12821(iVar1, 1, 1))
- {
- if (func_13823(func_34(PLAYER::PLAYER_ID()), func_34(iVar1), 30f, 1))
- {
- MISC::SET_BIT(&iLocal_308, 18);
- }
- }
- }
- }
- break;
- case -70486867:
- if (Global_1383397.f_18)
- {
- return;
- }
- if (func_12821(PLAYER::PLAYER_ID(), 1, 1))
- {
- PLAYER::CLEAR_PLAYER_WANTED_LEVEL(PLAYER::PLAYER_ID());
- }
- func_1007(&(Global_2524719.f_893), 0, 0);
- break;
- case 85170892:
- if (Global_1383397.f_19)
- {
- return;
- }
- break;
- case 622980875:
- if (Global_1383397.f_20)
- {
- return;
- }
- break;
- case 1996357959:
- if (Global_1383397.f_21)
- {
- return;
- }
- break;
- case -1500066268:
- if (Global_1383397.f_22)
- {
- return;
- }
- break;
- case -1072053459:
- if (Global_1383397.f_2)
- {
- return;
- }
- if (Global_2417554.f_780)
- {
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- Global_2417554.f_780 = 0;
- }
- func_645("COPTIMEROFF", -1);
- }
- else
- {
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- Global_2417554.f_780 = 1;
- }
- func_645("COPTIMERON", -1);
- }
- break;
- case 31926013:
- if (Global_1383397.f_1)
- {
- return;
- }
- if (Global_2417554.f_781)
- {
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- Global_2417554.f_781 = 0;
- }
- func_645("CROOKTIMEROFF", -1);
- }
- else
- {
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- Global_2417554.f_781 = 1;
- }
- func_645("CROOKTIMERON", -1);
- }
- break;
- case -1093319795:
- if (Global_1383397.f_5)
- {
- return;
- }
- func_13822();
- break;
- case -786762812:
- if (Global_1383397.f_4)
- {
- return;
- }
- if (NETWORK::_0x10BD227A753B0D84() != 0)
- {
- Global_1624218[PLAYER::PLAYER_ID() /*38*/].f_26 = 0;
- NETWORK::NETWORK_REQUEST_CLOUD_TUNABLES();
- }
- break;
- case 1008763532:
- if (Global_1383397.f_7)
- {
- return;
- }
- if (func_997())
- {
- }
- break;
- case -265187394:
- if (Global_1383397.f_3)
- {
- return;
- }
- Global_1589747[PLAYER::PLAYER_ID() /*790*/].f_139 = 0;
- Global_1589747[PLAYER::PLAYER_ID() /*790*/].f_139.f_1 = 0;
- if (!func_13821())
- {
- func_13820();
- }
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- Global_1573351.f_361 = 0;
- Global_1573351.f_360 = 0;
- }
- break;
- case -2121393322:
- if (Global_1383397.f_26)
- {
- return;
- }
- func_13818(iVar1);
- break;
- case -577769235:
- if (Global_1383397.f_27)
- {
- return;
- }
- break;
- case -1987827841:
- if (Global_1383397.f_28)
- {
- return;
- }
- break;
- case -949349456:
- if (Global_1383397.f_29)
- {
- return;
- }
- if (Global_2405070.f_2460 == 1)
- {
- Global_2405070.f_2462 = 1;
- }
- break;
- case -2093531732:
- if (Global_1383397.f_30)
- {
- return;
- }
- if (Global_2405070.f_2460 == 1)
- {
- Global_2405070.f_2462 = 0;
- }
- break;
- case -1989728150:
- if (Global_1383397.f_31)
- {
- return;
- }
- if (Global_1684962)
- {
- return;
- }
- func_13019(iVar1);
- break;
- case 1383721237:
- if (Global_1383397.f_35)
- {
- return;
- }
- if (!Global_2524719.f_5681[iVar1] == 0)
- {
- HUD::_REMOVE_NOTIFICATION(Global_2524719.f_5681[iVar1]);
- Global_2524719.f_5681[iVar1] = 0;
- }
- Global_2524719.f_5681[iVar1] = func_1499("TICK_BC_ON", iVar1, 0, 0, 0, 1, 1, 0);
- break;
- case 1254298341:
- if (Global_1383397.f_36)
- {
- return;
- }
- if (!Global_2524719.f_5681[iVar1] == 0)
- {
- HUD::_REMOVE_NOTIFICATION(Global_2524719.f_5681[iVar1]);
- Global_2524719.f_5681[iVar1] = 0;
- }
- Global_2524719.f_5681[iVar1] = func_1499("TICK_BC_OFF", iVar1, 0, 0, 0, 1, 1, 0);
- break;
- case -51658465:
- if (Global_1383397.f_32)
- {
- return;
- }
- if (func_10629(iVar1))
- {
- if (PLAYER::GET_PLAYER_TEAM(iVar1) == PLAYER::GET_PLAYER_TEAM(PLAYER::PLAYER_ID()))
- {
- if (!MISC::IS_BIT_SET(Global_2415861.f_372, iVar1))
- {
- func_11323(iVar1, 1, 30000);
- }
- }
- }
- break;
- case 313864371:
- if (Global_1383397.f_37)
- {
- return;
- }
- func_13817(iVar1);
- break;
- case 1706331227:
- if (Global_1383397.f_38)
- {
- return;
- }
- func_13816(iVar1);
- break;
- case -250676059:
- if (Global_1383397.f_39)
- {
- return;
- }
- func_13815(iVar1);
- break;
- case 1821407100:
- if (Global_1383397.f_40)
- {
- return;
- }
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- Global_1655012.f_32 = 1;
- }
- break;
- case 1660471073:
- if (Global_1383397.f_41)
- {
- return;
- }
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- Global_1655012.f_33 = 1;
- }
- break;
- case 994550800:
- if (Global_1383397.f_42)
- {
- return;
- }
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- Global_1655012.f_32 = 0;
- }
- break;
- case 1071335727:
- if (Global_1383397.f_43)
- {
- return;
- }
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- if (Global_1655012.f_31 == 300000)
- {
- Global_1655012.f_31 = (Global_1655012.f_31 + 60000);
- }
- }
- break;
- case 228054327:
- if (Global_1383397.f_44)
- {
- return;
- }
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- Global_1655012.f_34 = NETWORK::GET_NETWORK_TIME();
- }
- break;
- case 507139867:
- if (Global_1383397.f_45)
- {
- return;
- }
- if (NETWORK::NETWORK_IS_HOST_OF_THIS_SCRIPT())
- {
- Global_1655012.f_34 = 0;
- }
- break;
- case -1432407380:
- if (Global_1383397.f_46)
- {
- return;
- }
- if (!func_11339(iVar1, 0))
- {
- if (((func_475() != 28 && func_475() != 29) && func_475() != 30) || (func_1493() && func_475() == 26))
- {
- if (NETWORK::NETWORK_IS_ACTIVITY_SESSION())
- {
- func_13814();
- func_13813();
- if (!func_1493())
- {
- func_6415(15);
- }
- func_13805();
- func_13804(1);
- func_13802();
- func_12774(0, 0);
- func_5860(0);
- func_13801();
- if (!func_1493())
- {
- func_13800(2);
- }
- }
- else
- {
- func_6415(5);
- func_13798(1);
- }
- }
- else if (NETWORK::NETWORK_IS_ACTIVITY_SESSION())
- {
- func_13797(1);
- }
- func_13796();
- Global_2449169.f_6095 = 0;
- }
- break;
- case -278949149:
- if (Global_1383397.f_47)
- {
- return;
- }
- func_6380(1);
- break;
- case -1481643154:
- if (Global_1383397.f_49)
- {
- return;
- }
- func_13795();
- break;
- case -705600531:
- if (Global_1383397.f_50)
- {
- return;
- }
- func_13793(iVar1);
- break;
- case 845898965:
- if (Global_1383397.f_51)
- {
- return;
- }
- func_13792(iVar1);
- break;
- case 31266743:
- if (Global_1383397.f_48)
- {
- return;
- }
- break;
- case 1073545268:
- if (Global_1383397.f_54)
- {
- return;
- }
- func_13748(iVar1, -1);
- break;
- case -76820449:
- if (Global_1383397.f_52)
- {
- return;
- }
- func_13791();
- break;
- case 174677746:
- if (Global_1383397.f_53)
- {
- return;
- }
- func_13790();
- break;
- case 1044967605:
- if (Global_1383397.f_55)
- {
- return;
- }
- if (!Global_2524719.f_297)
- {
- Global_2524719.f_297 = 1;
- }
- break;
- case -821275389:
- if (Global_1383397.f_56)
- {
- return;
- }
- if (!Global_2524719.f_298)
- {
- Global_2524719.f_298 = 1;
- }
- break;
- case -416892818:
- if (Global_1383397.f_57)
- {
- return;
- }
- if (!Global_2524719.f_304)
- {
- Global_2524719.f_304 = 1;
- }
- break;
- case -1099588997:
- if (Global_1383397.f_58)
- {
- return;
- }
- if (!Global_2524719.f_305)
- {
- Global_2524719.f_305 = 1;
- }
- break;
- case 2004234915:
- if (Global_1383397.f_59)
- {
- return;
- }
- if (vVar0.y == Global_1589592)
- {
- Global_1589593 = 1;
- }
- break;
- default:
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement