Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- int testint = 0;
- float testfloat = 0;
- bool testbool = false;
- bool godmode = false;
- bool invisibility = false;
- bool superjump = false;
- bool noragdoll = false;
- bool neverwanted = false;
- bool rapidfire = false;
- bool invicar = false;
- bool infiniteammo = false;
- bool explode = false;
- bool waterloop = false;
- bool fireloop = false;
- bool freeze = false;
- bool explode2 = false;
- #define playerVeh PED::GET_VEHICLE_PED_IS_USING(playerPed)
- int testarray[] = { 1, 3, 5, 10 };
- int testarraypointer = 0;
- bool firstload = true;
- LPCWSTR menuStyleLocation = L".\\OriginBase\\MenuStyle.ini";
- Vector3 addVector(Vector3 vector, Vector3 vector2) {
- vector.x += vector2.x;
- vector.y += vector2.y;
- vector.z += vector2.z;
- vector._paddingx += vector2._paddingx;
- vector._paddingy += vector2._paddingy;
- vector._paddingz += vector2._paddingz;
- return vector;
- }
- double DegreeToRadian(double n) {
- return n * 0.017453292519943295;
- }
- Vector3 RotationToDirection(Vector3 rot) {
- double num = DegreeToRadian(rot.z);
- double num2 = DegreeToRadian(rot.x);
- double val = cos(num2);
- double num3 = abs(val);
- rot.x = (float)(-(float)sin(num) * num3);
- rot.y = (float)(cos(num) * num3);
- rot.z = (float)sin(num2);
- return rot;
- }
- Vector3 multiplyVector(Vector3 vector, float inc) {
- vector.x *= inc;
- vector.y *= inc;
- vector.z *= inc;
- vector._paddingx *= inc;
- vector._paddingy *= inc;
- vector._paddingz *= inc;
- return vector;
- }
- void RequestingControl(Entity e)
- {
- NETWORK::NETWORK_REQUEST_CONTROL_OF_ENTITY(e);
- if (!NETWORK::NETWORK_HAS_CONTROL_OF_ENTITY(e))
- WAIT(0);
- NETWORK::NETWORK_REQUEST_CONTROL_OF_ENTITY(e);
- }
- void TPto(Vector3 Coords)
- {
- int Handle = PLAYER::PLAYER_PED_ID();
- if (PED::IS_PED_IN_ANY_VEHICLE(Handle, 0))
- {
- ENTITY::SET_ENTITY_COORDS(PED::GET_VEHICLE_PED_IS_IN(Handle, false), Coords.x, Coords.y, Coords.z, 0, 0, 0, 1);
- }
- else
- ENTITY::SET_ENTITY_COORDS(Handle, Coords.x, Coords.y, Coords.z, 0, 0, 0, 1);
- }
- bool isHospitalSpawned = false;
- void toggleIPL(char* IPLName, char* MessageEnabled, char* MessageDisabled, bool show = false)
- {
- if (STREAMING::IS_IPL_ACTIVE(IPLName))
- {
- STREAMING::REMOVE_IPL(IPLName);
- if (show)
- notifyAboveMap(MessageDisabled);
- }
- else
- {
- STREAMING::REQUEST_IPL(IPLName);
- if (show)
- notifyAboveMap(MessageEnabled);
- }
- }
- void OriginMenu() {
- if (freeze == true) {
- Player selectedplayer = PLAYER::GET_PLAYER_PED(selectedplayer);
- RequestingControl(selectedplayer);
- AI::CLEAR_PED_TASKS_IMMEDIATELY(PLAYER::GET_PLAYER_PED(selectedplayer));
- }
- if (fireloop == true) {
- Player selectedplayer = PLAYER::GET_PLAYER_PED(selectedplayer);
- Vector3 Pos = ENTITY::GET_ENTITY_COORDS(PLAYER::GET_PLAYER_PED(selectedplayer), true);
- FIRE::ADD_OWNED_EXPLOSION(PLAYER::PLAYER_PED_ID(), Pos.x, Pos.y, Pos.z, 12, 5, true, 0, 0);
- }
- if (waterloop == true) {
- Player selectedplayer = PLAYER::GET_PLAYER_PED(selectedplayer);
- Vector3 Pos = ENTITY::GET_ENTITY_COORDS(PLAYER::GET_PLAYER_PED(selectedplayer), true);
- FIRE::ADD_OWNED_EXPLOSION(PLAYER::PLAYER_PED_ID(), Pos.x, Pos.y, Pos.z, 13, 5, true, 0, 0);
- }
- if (godmode == true) {
- PLAYER::SET_PLAYER_INVINCIBLE(PLAYER::PLAYER_ID(), true);
- }
- if (invicar = true) {
- int VehID = PED::GET_VEHICLE_PED_IS_IN(PLAYER::PLAYER_PED_ID(), 0);
- ENTITY::SET_ENTITY_INVINCIBLE(VehID, true);
- }
- if (infiniteammo == true) {
- Ped selectedPlayer = PLAYER::PLAYER_PED_ID();
- WEAPON::SET_PED_INFINITE_AMMO_CLIP(selectedPlayer, true);
- }
- if (rapidfire == true) {
- Player playerPed = PLAYER::PLAYER_PED_ID();
- if (rapidfire == true && !PED::IS_PED_IN_ANY_VEHICLE(playerPed, 1)) {
- PLAYER::DISABLE_PLAYER_FIRING(playerPed, 1);
- Vector3 gameplayCam = CAM::_GET_GAMEPLAY_CAM_COORDS();
- Vector3 gameplayCamRot = CAM::GET_GAMEPLAY_CAM_ROT(0);
- Vector3 gameplayCamDirection = RotationToDirection(gameplayCamRot);
- Vector3 startCoords = addVector(gameplayCam, (multiplyVector(gameplayCamDirection, 1.0f)));
- Vector3 endCoords = addVector(startCoords, multiplyVector(gameplayCamDirection, 500.0f));
- Hash weaponhash;
- WEAPON::GET_CURRENT_PED_WEAPON(playerPed, &weaponhash, 1);
- if (CONTROLS::IS_CONTROL_PRESSED(2, 208) || (GetKeyState(VK_LBUTTON) & 0x8000)) {
- GAMEPLAY::SHOOT_SINGLE_BULLET_BETWEEN_COORDS(startCoords.x, startCoords.y, startCoords.z, endCoords.x, endCoords.y, endCoords.z, 50, 1, weaponhash, playerPed, 1, 1, 0xbf800000);
- }
- }
- }
- if (invisibility == true) {
- ENTITY::SET_ENTITY_VISIBLE(PLAYER::PLAYER_PED_ID(), false, false);
- }
- else
- {
- ENTITY::SET_ENTITY_VISIBLE(PLAYER::PLAYER_PED_ID(), true, true);
- }
- if (noragdoll == true) {
- if (noragdoll)
- Ped PLAYER_PED_ID = PLAYER::PLAYER_PED_ID();
- Player PLAYER_ID = PLAYER::PLAYER_ID();
- PED::SET_PED_CAN_RAGDOLL(PLAYER::PLAYER_PED_ID(), false);
- PED::SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT(PLAYER::PLAYER_PED_ID(), false);
- PED::SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE(PLAYER::PLAYER_PED_ID(), false);
- PLAYER::GIVE_PLAYER_RAGDOLL_CONTROL(PLAYER::PLAYER_ID(), true);
- PED::SET_PED_RAGDOLL_ON_COLLISION(PLAYER::PLAYER_PED_ID(), false);
- }
- else
- {
- Ped PLAYER_PED_ID = PLAYER::PLAYER_PED_ID();
- Player PLAYER_ID = PLAYER::PLAYER_ID();
- PED::SET_PED_CAN_RAGDOLL(PLAYER::PLAYER_PED_ID(), true);
- PED::SET_PED_CAN_RAGDOLL_FROM_PLAYER_IMPACT(PLAYER::PLAYER_PED_ID(), true);
- PED::SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE(PLAYER::PLAYER_PED_ID(), true);
- PLAYER::GIVE_PLAYER_RAGDOLL_CONTROL(PLAYER::PLAYER_ID(), false);
- PED::SET_PED_RAGDOLL_ON_COLLISION(PLAYER::PLAYER_PED_ID(), true);
- }
- if (explode == true) {
- GAMEPLAY::SET_EXPLOSIVE_AMMO_THIS_FRAME(PLAYER::PLAYER_ID());
- }
- if (neverwanted == true) {
- if (neverwanted)
- {
- PLAYER::CLEAR_PLAYER_WANTED_LEVEL(PLAYER::PLAYER_ID());
- PLAYER::SET_MAX_WANTED_LEVEL(0);//
- }
- else
- {
- PLAYER::SET_MAX_WANTED_LEVEL(5);
- }
- }
- if (explode2 == true) {
- GAMEPLAY::SET_EXPLOSIVE_MELEE_THIS_FRAME(PLAYER::PLAYER_ID());
- }
- if (superjump == true) {
- GAMEPLAY::SET_SUPER_JUMP_THIS_FRAME(PLAYER::PLAYER_PED_ID());
- GAMEPLAY::SET_SUPER_JUMP_THIS_FRAME(PLAYER::PLAYER_ID());
- }
- else
- {
- AI::CLEAR_PED_TASKS_IMMEDIATELY(PLAYER::PLAYER_PED_ID());
- }
- if (firstload) {
- Menu::LoadMenuTheme(menuStyleLocation);
- firstload = false;
- }
- Menu::checkKeys();
- // Has to look for mainmenu otherwise the code fails due to me setting menu to mainmenu on Keypress
- if (Menu::currentMenu("mainmenu")) {
- Menu::Title("PANZER 2.0");
- Menu::MenuOption("SELF OPTIONS", "selfoptions");
- Menu::MenuOption("ONLINE PLAYERS", "playerlist");
- Menu::MenuOption("ALL PLAYERS", "allplayers");
- Menu::MenuOption("VEHICLE OPTIONS", "vehicleoptions");
- Menu::MenuOption("WEAPON OPTIONS", "weaponoptions");
- Menu::MenuOption("TELEPORTS", "teleports");
- Menu::MenuOption("IPL LOADER", "iplloader");
- Menu::MenuOption("SETTINGS", "settings");
- Menu::MenuOption("CREDITS", "credits");
- Menu::IntOption("Test Int", &testint, 0, 10);
- Menu::IntOption("Test Int Custom Step", &testint, 0, 10, 5);
- Menu::FloatOption("Test Float", &testfloat, 0, 10);
- Menu::FloatOption("Test Float Custom Step", &testfloat, 0, 10, 0.2f);
- Menu::IntArray("Test Int Array", testarray, &testarraypointer);
- }
- if (Menu::currentMenu("credits")) {
- Menu::Title("CREDITS");
- }
- if (Menu::currentMenu("playerlist")) {
- Player selectedplayer = PLAYER::GET_PLAYER_PED(selectedplayer);
- Menu::Title("ONLINE PLAYERS");
- for (int i = 0; i < 30; i++)
- {
- if (ENTITY::DOES_ENTITY_EXIST(PLAYER::GET_PLAYER_PED(i)))
- {
- if (Menu::Option(PLAYER::GET_PLAYER_NAME(i)))
- {
- selectedplayer = i;
- Menu::changeMenu("onlineplayers");
- }
- }
- }
- }
- if (Menu::currentMenu("onlineplayers")) {
- Player selectedplayer = PLAYER::GET_PLAYER_PED(selectedplayer);
- Menu::Title(PLAYER::GET_PLAYER_NAME(selectedplayer));
- Player playerPed = PLAYER::PLAYER_PED_ID();
- if (Menu::Option("TELEPORT TO"))
- {
- if (ENTITY::DOES_ENTITY_EXIST(PLAYER::GET_PLAYER_PED(selectedplayer)))
- {
- Vector3 destPos = ENTITY::GET_ENTITY_COORDS(PLAYER::GET_PLAYER_PED(selectedplayer), false);
- if (PED::IS_PED_IN_ANY_VEHICLE(playerPed, false))
- ENTITY::SET_ENTITY_COORDS(playerVeh, destPos.x, destPos.y, destPos.z, false, false, false, false);
- else
- ENTITY::SET_ENTITY_COORDS(playerPed, destPos.x, destPos.y, destPos.z, false, false, false, false);
- }
- }
- if (Menu::Option("KILL PLAYER"))
- {
- Player selectedplayer = PLAYER::GET_PLAYER_PED(selectedplayer);
- Vector3 Pos = ENTITY::GET_ENTITY_COORDS(PLAYER::GET_PLAYER_PED(selectedplayer), true);
- FIRE::ADD_EXPLOSION(Pos.x, Pos.y, Pos.z, 29, 9.0f, true, 0, 0);
- }
- if (Menu::Option("GIVE ALL WEAPONS"))
- {
- uint Weapons[] = { 0x99B507EA, 0x678B81B1, 0x4E875F73, 0x958A4A8F, 0x440E4788, 0x84BD7BFD, 0x1B06D571, 0x5EF9FEC4, 0x22D8FE39, 0x99AEEB3B, 0x13532244, 0x2BE6766B, 0xEFE7E2DF, 0xBFEFFF6D, 0x83BF0278, 0xAF113F99, 0x9D07F764, 0x7FD62962, 0x1D073A89, 0x7846A318, 0xE284C527, 0x9D61E50F, 0x3656C8C1, 0x05FC3C11, 0x0C472FE2, 0x33058E22, 0xA284510B, 0x4DD2DC56, 0xB1CA77B1, 0x687652CE, 0x42BF8A85, 0x93E220BD, 0x2C3731D9, 0xFDBC8A50, 0x24B17070, 0x060EC506, 0x34A67B97, 0xFDBADCED, 0x23C9F95C, 0x497FACC3, 0xF9E6AA4B, 0x61012683, 0xC0A3098D, 0xD205520E, 0xBFD21232, 0x7F229F94, 0x92A27487, 0x083839C4, 0x7F7497E5, 0xA89CB99E, 0x3AABBBAA, 0xC734385A, 0x787F0BB, 0x47757124, 0xD04C944D };
- for (int i = 0; i < (sizeof(Weapons) / 4); i++)
- {
- WEAPON::GIVE_DELAYED_WEAPON_TO_PED(PLAYER::GET_PLAYER_PED(selectedplayer), Weapons[i], 9999, 1);
- WAIT(10);
- }
- }
- if (Menu::Option("REMOVE ALL WEAPONS"))
- {
- WEAPON::REMOVE_ALL_PED_WEAPONS(PLAYER::GET_PLAYER_PED(selectedplayer), true);
- }
- if (Menu::BoolOption("FREEZE PLAYER", &freeze));
- if (Menu::BoolOption("WATER LOOP", &waterloop));
- if (Menu::BoolOption("FIRE LOOP", &fireloop));
- if (Menu::Option("SPAWN BODYGUARD")) {
- Player selectedplayer = PLAYER::GET_PLAYER_PED(selectedplayer);
- if (!ENTITY::DOES_ENTITY_EXIST(selectedplayer)) return;
- Hash railgun = GAMEPLAY::GET_HASH_KEY("WEAPON_RAILGUN");
- Vector3 pos = ENTITY::GET_ENTITY_COORDS(selectedplayer, 1);
- Hash pedm = GAMEPLAY::GET_HASH_KEY("a_f_y_beach_01");
- STREAMING::REQUEST_MODEL(pedm);
- while (!STREAMING::HAS_MODEL_LOADED(pedm))
- WAIT(0);
- int my_group = PLAYER::GET_PLAYER_GROUP(selectedplayer);
- int clone = PED::CREATE_PED(26, pedm, pos.x + rand() % 1, pos.y + rand() % 1, pos.z + 1, 0, 1, 1);
- PED::SET_PED_AS_GROUP_LEADER(selectedplayer, my_group);
- PED::SET_PED_AS_GROUP_MEMBER(clone, my_group);
- PED::SET_PED_NEVER_LEAVES_GROUP(clone, my_group);
- ENTITY::SET_ENTITY_INVINCIBLE(clone, false);
- PED::SET_PED_COMBAT_ABILITY(clone, 100);
- WEAPON::GIVE_WEAPON_TO_PED(clone, railgun, railgun, 9999, 9999);
- PED::SET_PED_CAN_SWITCH_WEAPON(clone, true);
- PED::SET_GROUP_FORMATION(my_group, 3);
- PED::SET_PED_MAX_HEALTH(clone, 5000);
- }
- if (Menu::currentMenu("allplayers")) {
- Menu::Title("ALL PLAYERS");
- if (Menu::Option("KILL ALL")) notifyAboveMap("NOT AVAILABLE AT THE MOMENT");
- if (Menu::Option("CRASH ALL")) {
- { // CRASH ALL NIGGERS! - Pandz 2k16
- for (int i = 0; i < 32; i++)
- {
- Player playerHandle = PLAYER::GET_PLAYER_PED(i);
- Hash crashall = GAMEPLAY::GET_HASH_KEY("prop_log_aa");
- STREAMING::REQUEST_MODEL(crashall);
- while (!STREAMING::HAS_MODEL_LOADED(crashall)) WAIT(0);
- notifyAboveMap("~r~PANZER: ~b~CRASHING ALL...");
- if (ENTITY::DOES_ENTITY_EXIST(playerHandle))
- {
- if (!strcmp(PLAYER::GET_PLAYER_NAME(PLAYER::INT_TO_PLAYERINDEX(i)), "dubgamer77")) continue;
- {
- if (!strcmp(PLAYER::GET_PLAYER_NAME(PLAYER::INT_TO_PLAYERINDEX(i)), "wokka1990")) continue;
- {
- if (!strcmp(PLAYER::GET_PLAYER_NAME(PLAYER::INT_TO_PLAYERINDEX(i)), "THC2803")) continue;
- {
- if (!strcmp(PLAYER::GET_PLAYER_NAME(PLAYER::INT_TO_PLAYERINDEX(i)), "FirahGames")) continue;
- {
- if (!strcmp(PLAYER::GET_PLAYER_NAME(PLAYER::INT_TO_PLAYERINDEX(i)), "Maloy4_20")) continue;
- {
- if (!strcmp(PLAYER::GET_PLAYER_NAME(PLAYER::INT_TO_PLAYERINDEX(i)), "dcain1993")) continue;
- {
- if (!strcmp(PLAYER::GET_PLAYER_NAME(PLAYER::INT_TO_PLAYERINDEX(i)), "InNOutKing")) continue;
- {
- if (PLAYER::GET_PLAYER_PED(i) == PLAYER::PLAYER_PED_ID()) continue;
- {
- Vector3 Coords;
- Coords.x = 496.75f; Coords.y = 5591.17f; Coords.z = 795.03f;
- TPto(Coords);
- Object crashall2 = OBJECT::CREATE_OBJECT(crashall, 0, 0, 0, true, true, false);
- ENTITY::ATTACH_ENTITY_TO_ENTITY(crashall2, playerHandle, PED::GET_PED_BONE_INDEX(playerHandle, SKEL_Spine_Root), 0.0, 0.0, 0.0, 0.0, 90.0, 0, false, false, false, false, 2, true);
- }
- STREAMING::SET_MODEL_AS_NO_LONGER_NEEDED(crashall);
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- if (Menu::currentMenu("selfoptions")) {
- Menu::Title("SELF OPTIONS");
- if (Menu::BoolOption("GODMODE", &godmode))
- if (Menu::BoolOption("INVISIBILITY", &invisibility));
- if (Menu::BoolOption("SUPER JUMP", &superjump));
- if (Menu::BoolOption("NO RAGDOLL", &noragdoll));
- if (Menu::BoolOption("NEVER WANTED", &neverwanted));
- }
- if (Menu::currentMenu("weaponoptions")) {
- Menu::Title("WEAPON OPTIONS");
- if (Menu::BoolOption("RAPID FIRE", &rapidfire));
- if (Menu::BoolOption("EXPLOSIVE AMMO", &explode));
- if (Menu::BoolOption("INFINITE AMMO", &infiniteammo));
- if (Menu::BoolOption("EXPLOSIVE MELEE", &explode2));
- }
- if (Menu::currentMenu("settings")) {
- Menu::Title("SETTINGS MENU");
- Menu::MenuOption("THEMES", "settings_theme");
- }
- if (Menu::currentMenu("settings_theme")) {
- Menu::Title("THEME");
- Menu::MenuOption("TITLE TEXT", "settings_theme_titletext");
- Menu::MenuOption("TITLE RECT", "settings_theme_titlerect");
- Menu::MenuOption("SCROLLER", "settings_theme_scroller");
- Menu::MenuOption("OPTIONS TEXT", "settings_theme_options");
- Menu::MenuOption("OPTIONS RECT", "settings_theme_optionsrect");
- if (Menu::Option("SAVE THEME")) Menu::SaveMenuTheme(menuStyleLocation);
- if (Menu::Option("LOAD THEME")) Menu::LoadMenuTheme(menuStyleLocation);
- if (Menu::Option("DEFAULT THEME")) {
- titleText = { 255, 0, 255, 255 };
- titleRect = { 0, 0, 0, 80 };
- scroller = { 0, 0, 0, 80 };
- options = { 255, 0, 255, 255 };
- optionsrect = { 0, 0, 0, 80 };
- }
- }
- if (Menu::currentMenu("settings_theme_titletext")) {
- Menu::Title("Title Text");
- Menu::IntOption("Red: ", &titleText.r, 0, 255);
- Menu::IntOption("Green: ", &titleText.g, 0, 255);
- Menu::IntOption("Blue: ", &titleText.b, 0, 255);
- Menu::IntOption("Alpha: ", &titleText.a, 0, 255);
- }
- if (Menu::currentMenu("settings_theme_titlerect")) {
- Menu::Title("Title Rect");
- Menu::IntOption("Red: ", &titleRect.r, 0, 255);
- Menu::IntOption("Green: ", &titleRect.g, 0, 255);
- Menu::IntOption("Blue: ", &titleRect.b, 0, 255);
- Menu::IntOption("Alpha: ", &titleRect.a, 0, 255);
- }
- if (Menu::currentMenu("settings_theme_scroller")) {
- Menu::Title("Scroller");
- Menu::IntOption("Red: ", &scroller.r, 0, 255);
- Menu::IntOption("Green: ", &scroller.g, 0, 255);
- Menu::IntOption("Blue: ", &scroller.b, 0, 255);
- Menu::IntOption("Alpha: ", &scroller.a, 0, 255);
- }
- if (Menu::currentMenu("settings_theme_options")) {
- Menu::Title("Options Text");
- Menu::IntOption("Red: ", &options.r, 0, 255);
- Menu::IntOption("Green: ", &options.g, 0, 255);
- Menu::IntOption("Blue: ", &options.b, 0, 255);
- Menu::IntOption("Alpha: ", &options.a, 0, 255);
- }
- if (Menu::currentMenu("settings_theme_optionsrect")) {
- Menu::Title("Options Rect");
- Menu::IntOption("Red: ", &optionsrect.r, 0, 255);
- Menu::IntOption("Green: ", &optionsrect.g, 0, 255);
- Menu::IntOption("Blue: ", &optionsrect.b, 0, 255);
- Menu::IntOption("Alpha: ", &optionsrect.a, 0, 255);
- }
- if (Menu::currentMenu("teleports")) {
- Menu::Title("TELEPORTS");
- Menu::TeleportOption("MAZE BANK ROOF", -74.94243, -818.63446, 326.274347);
- Menu::TeleportOption("MOUNT CHILIAD TOP", 496.75, 5591.17, 795.03);
- Menu::TeleportOption("MILITARY BASE", -2012.8470, 2956.5270, 32.810);
- Menu::TeleportOption("LOS SANTOS CUSTOMS", -373.01, -124.91, 38.31);
- Menu::TeleportOption("MASH SHOP", -1338.16, -1278.11, 4.87);
- }
- if (Menu::currentMenu("iplloader")) {
- Menu::Title("IPL LOADER");
- if (Menu::Option("CARGOSHIP"))
- {
- char* IPLName = "cargoship";
- if (STREAMING::IS_IPL_ACTIVE(IPLName))
- {
- STREAMING::REMOVE_IPL(IPLName);
- notifyAboveMap("~r~CARGOSHIP DE-SPAWNED");
- }
- else
- {
- STREAMING::REQUEST_IPL(IPLName);
- notifyAboveMap("~g~CARGOSHIP SPAWNED");
- Vector3 Coords;
- Coords.x = -162.8918f; Coords.y = -2365.769f; Coords.z = 9.3192f;
- TPto(Coords);
- }
- }
- if (Menu::Option("NORTH YANKTON"))
- {
- toggleIPL("prologue01", "", "");
- toggleIPL("Prologue01c", "", "");
- toggleIPL("Prologue01d", "", "");
- toggleIPL("Prologue01e", "", "");
- toggleIPL("Prologue01f", "", "");
- toggleIPL("Prologue01g", "", "");
- toggleIPL("prologue01h", "", "");
- toggleIPL("prologue01i", "", "");
- toggleIPL("prologue01j", "", "");
- toggleIPL("prologue01k", "", "");
- toggleIPL("prologue01z", "", "");
- toggleIPL("prologue02", "", "");
- toggleIPL("prologue03", "", "");
- toggleIPL("prologue03b", "", "");
- toggleIPL("prologue03_grv_cov", "", "");
- toggleIPL("prologue03_grv_dug", "", "");
- toggleIPL("prologue03_grv_fun", "", "");
- toggleIPL("prologue04", "", "");
- toggleIPL("prologue04b", "", "");
- toggleIPL("prologue04_cover", "", "");
- toggleIPL("prologue05", "", "");
- toggleIPL("prologue05b", "", "");
- toggleIPL("prologue06", "", "");
- toggleIPL("prologue06b", "", "");
- toggleIPL("prologue06_int", "", "");
- toggleIPL("prologuerd", "", "");
- toggleIPL("prologuerdb", "", "");
- toggleIPL("prologue_DistantLights", "", "");
- toggleIPL("prologue_grv_torch", "", "");
- toggleIPL("prologue_m2_door", "", "");
- toggleIPL("prologue_LODLights", "", "");
- toggleIPL("DES_ProTree_start", "", "");
- Vector3 Coords;
- Coords.x = 3595.39673f; Coords.y = -4893.727f; Coords.z = 115.838394f;
- TPto(Coords);
- toggleIPL("DES_ProTree_start_lod", "~r~NORTH YANKTON DE-SPAWNED", "~g~NORTH YANKTON SPAWNED", true);
- }
- if (Menu::Option("PORN YACHT ;)"))
- {
- toggleIPL("smboat", "~g~PORN YACHT SPAWNED ;)", "~r~PORN YACHT DE-SPAWNED :(", true);
- Vector3 Coords;
- Coords.x = -2045.8f; Coords.y = -1031.2f; Coords.z = 11.9f;
- TPto(Coords);
- }
- if (Menu::Option("AIRCRAFT CARRIER"))
- {
- if (STREAMING::IS_IPL_ACTIVE("hei_carrier"))
- {
- STREAMING::REMOVE_IPL("hei_carrier");
- STREAMING::REMOVE_IPL("hei_carrier_DistantLights");
- STREAMING::REMOVE_IPL("hei_Carrier_int1");
- STREAMING::REMOVE_IPL("hei_Carrier_int2");
- STREAMING::REMOVE_IPL("hei_Carrier_int3");
- STREAMING::REMOVE_IPL("hei_Carrier_int4");
- STREAMING::REMOVE_IPL("hei_Carrier_int5");
- STREAMING::REMOVE_IPL("hei_Carrier_int6");
- STREAMING::REMOVE_IPL("hei_carrier_LODLights");
- notifyAboveMap("~r~AIRCRAFT CARRIER DE-SPAWNED");
- }
- else
- {
- DLC2::_LOAD_MP_DLC_MAPS();
- STREAMING::REQUEST_IPL("hei_carrier");
- STREAMING::REQUEST_IPL("hei_carrier_DistantLights");
- STREAMING::REQUEST_IPL("hei_Carrier_int1");
- STREAMING::REQUEST_IPL("hei_Carrier_int2");
- STREAMING::REQUEST_IPL("hei_Carrier_int3");
- STREAMING::REQUEST_IPL("hei_Carrier_int4");
- STREAMING::REQUEST_IPL("hei_Carrier_int5");
- STREAMING::REQUEST_IPL("hei_Carrier_int6");
- STREAMING::REQUEST_IPL("hei_carrier_LODLights");
- Vector3 Coords;
- Coords.x = 3069.330f; Coords.y = -4632.4f; Coords.z = 15.043f;
- TPto(Coords);
- notifyAboveMap("~g~AIRCRAFT CARRIER SPAWNED");
- }
- }
- if (Menu::Option("SUNKEN CARGOSHIP"))
- {
- if (STREAMING::IS_IPL_ACTIVE("sunkcargoship"))
- {
- STREAMING::REMOVE_IPL("sunkcargoship");
- notifyAboveMap("~r~SUNKEN CARGOSHIP DE-SPAWNED");
- }
- else
- {
- STREAMING::REQUEST_IPL("sunkcargoship");
- Vector3 Coords;
- Coords.x = -162.8918f; Coords.y = -2365.769f; Coords.z = 0.0f;
- TPto(Coords);
- notifyAboveMap("~g~SUNKEN CARGOSHIP SPAWNED");
- }
- }
- if (Menu::Option("HOSPITAL"))
- {
- if (isHospitalSpawned)
- {
- STREAMING::REQUEST_IPL("RC12B_Default");
- STREAMING::REQUEST_IPL("RC12B_Fixed");
- notifyAboveMap("~r~HOSPITAL DE-SPAWNED");
- isHospitalSpawned = false;
- }
- else
- {
- STREAMING::REQUEST_IPL("RC12B_HospitalInterior");
- STREAMING::REQUEST_IPL("RC12B_Destroyed");
- Vector3 Coords;
- Coords.x = 356.8f; Coords.y = -590.1f; Coords.z = 43.3f;
- TPto(Coords);
- notifyAboveMap("~g~HOSPITAL SPAWNED");
- isHospitalSpawned = true;
- }
- }
- if (Menu::Option("O'NEIL FARM"))
- {
- if (STREAMING::IS_IPL_ACTIVE("farm"))
- {
- STREAMING::REMOVE_IPL("farm");
- STREAMING::REMOVE_IPL("farm_props");
- STREAMING::REMOVE_IPL("farmint");
- STREAMING::REMOVE_IPL("farmint_cap");
- STREAMING::REQUEST_IPL("farm_burnt");
- STREAMING::REQUEST_IPL("farm_burnt_props");
- notifyAboveMap("~g~O'NEIL FARM SPAWNED [BURNED DOWN]");
- }
- else
- {
- STREAMING::REMOVE_IPL("farm_burnt");
- STREAMING::REMOVE_IPL("farm_burnt_props");
- STREAMING::REQUEST_IPL("farm");
- STREAMING::REQUEST_IPL("farm_props");
- STREAMING::REQUEST_IPL("farmint");
- STREAMING::REQUEST_IPL("farmint_cap");
- Vector3 Coords;
- Coords.x = 2441.2f; Coords.y = 4968.5f; Coords.z = 51.7f;
- TPto(Coords);
- notifyAboveMap("~g~O'NEIL FARM SPAWNED");
- }
- }
- if (Menu::Option("LIFEINVADER OFFICE"))
- {
- char* IPLName = "facelobby";
- if (STREAMING::IS_IPL_ACTIVE(IPLName))
- {
- STREAMING::REMOVE_IPL(IPLName);
- STREAMING::REMOVE_IPL("facelobbyfake");
- notifyAboveMap("~r~LIFEINVADER LOBBY DE-SPAWNED");
- }
- else
- {
- STREAMING::REQUEST_IPL(IPLName);
- STREAMING::REQUEST_IPL("facelobbyfake");
- Vector3 Coords;
- Coords.x = -1047.9f; Coords.y = -233.0f; Coords.z = 39.0f;
- TPto(Coords);
- notifyAboveMap("~g~LIFEINVADER LOBBY SPAWNED");
- }
- }
- if (Menu::Option("JEWELRY SHOP"))
- {
- char* IPLName = "jewel2fake";
- if (STREAMING::IS_IPL_ACTIVE(IPLName))
- {
- STREAMING::REMOVE_IPL(IPLName);
- STREAMING::REMOVE_IPL("post_hiest_unload");
- STREAMING::REMOVE_IPL("bh1_16_refurb");
- notifyAboveMap("~r~JEWELRY SHOP DE-SPAWNED");
- }
- else
- {
- STREAMING::REQUEST_IPL(IPLName);
- STREAMING::REQUEST_IPL("post_hiest_unload");
- STREAMING::REQUEST_IPL("bh1_16_refurb");
- notifyAboveMap("~g~JEWELRY SHOP SPAWNED");
- Vector3 Coords;
- Coords.x = -630.4f; Coords.y = -236.7f; Coords.z = 40.0f;
- TPto(Coords);
- }
- }
- if (Menu::Option("MORGUE"))
- {
- char* IPLName = "Coroner_Int_on";
- if (STREAMING::IS_IPL_ACTIVE(IPLName))
- {
- STREAMING::REMOVE_IPL(IPLName);
- notifyAboveMap("~r~MORGUE DE-SPAWNED");
- }
- else
- {
- STREAMING::REQUEST_IPL(IPLName);
- notifyAboveMap("~g~MORGUE SPAWNED");
- Vector3 Coords;
- Coords.x = 244.9f; Coords.y = -1374.7f; Coords.z = 39.5f;
- TPto(Coords);
- }
- }
- }
- Menu::endMenu();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement