1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. GTA Network forum is now in archive mode.

Load and Unload North Yankton IPLs

Discussion in 'Snippets' started by BigJay, Jan 31, 2017.

  1. BigJay

    BigJay Well-Known Member Donator Support

    Messages:
    131
    Likes Received:
    29
    Joined:
    Jan 23, 2017
    Thought I'd post this simple command here so that you all don't have to type the 120+ lines of code yourself!

    Co-ordinations to spawn in Ludendorff, North Yankton are X: 3360.19, Y: -4849.67, Z: 111.8

    Code:
    public void LoadNorthYankton()
    {
            API.requestIpl("plg_01");
            API.requestIpl("prologue01");
            API.requestIpl("prologue01_lod");
            API.requestIpl("prologue01c");
            API.requestIpl("prologue01c_lod");
            API.requestIpl("prologue01d");
            API.requestIpl("prologue01d_lod");
            API.requestIpl("prologue01e");
            API.requestIpl("prologue01e_lod");
            API.requestIpl("prologue01f");
            API.requestIpl("prologue01f_lod");
            API.requestIpl("prologue01g");
            API.requestIpl("prologue01h");
            API.requestIpl("prologue01h_lod");
            API.requestIpl("prologue01i");
            API.requestIpl("prologue01i_lod");
            API.requestIpl("prologue01j");
            API.requestIpl("prologue01j_lod");
            API.requestIpl("prologue01k");
            API.requestIpl("prologue01k_lod");
            API.requestIpl("prologue01z");
            API.requestIpl("prologue01z_lod");
            API.requestIpl("plg_02");
            API.requestIpl("prologue02");
            API.requestIpl("prologue02_lod");
            API.requestIpl("plg_03");
            API.requestIpl("prologue03");
            API.requestIpl("prologue03_lod");
            API.requestIpl("prologue03b");
            API.requestIpl("prologue03b_lod");
            API.requestIpl("prologue03_grv_dug");
            API.requestIpl("prologue03_grv_dug_lod");
            API.requestIpl("prologue_grv_torch");
            API.requestIpl("plg_04");
            API.requestIpl("prologue04");
            API.requestIpl("prologue04_lod");
            API.requestIpl("prologue04b");
            API.requestIpl("prologue04b_lod");
            API.requestIpl("prologue04_cover");
            API.requestIpl("des_protree_end");
            API.requestIpl("des_protree_start");
            API.requestIpl("des_protree_start_lod");
            API.requestIpl("plg_05");
            API.requestIpl("prologue05");
            API.requestIpl("prologue05_lod");
            API.requestIpl("prologue05b");
            API.requestIpl("prologue05b_lod");
            API.requestIpl("plg_06");
            API.requestIpl("prologue06");
            API.requestIpl("prologue06_lod");
            API.requestIpl("prologue06b");
            API.requestIpl("prologue06b_lod");
            API.requestIpl("prologue06_int");
            API.requestIpl("prologue06_int_lod");
            API.requestIpl("prologue06_pannel");
            API.requestIpl("prologue06_pannel_lod");
            API.requestIpl("prologue_m2_door");
            API.requestIpl("prologue_m2_door_lod");
            API.requestIpl("plg_occl_00");
            API.requestIpl("prologue_occl");
            API.requestIpl("plg_rd");
            API.requestIpl("prologuerd");
            API.requestIpl("prologuerdb");
            API.requestIpl("prologuerd_lod");
    }
    
    Code:
    public void UnoadNorthYankton()
    {
            API.removeIpl("plg_01");
            API.removeIpl("prologue01");
            API.removeIpl("prologue01_lod");
            API.removeIpl("prologue01c");
            API.removeIpl("prologue01c_lod");
            API.removeIpl("prologue01d");
            API.removeIpl("prologue01d_lod");
            API.removeIpl("prologue01e");
            API.removeIpl("prologue01e_lod");
            API.removeIpl("prologue01f");
            API.removeIpl("prologue01f_lod");
            API.removeIpl("prologue01g");
            API.removeIpl("prologue01h");
            API.removeIpl("prologue01h_lod");
            API.removeIpl("prologue01i");
            API.removeIpl("prologue01i_lod");
            API.removeIpl("prologue01j");
            API.removeIpl("prologue01j_lod");
            API.removeIpl("prologue01k");
            API.removeIpl("prologue01k_lod");
            API.removeIpl("prologue01z");
            API.removeIpl("prologue01z_lod");
            API.removeIpl("plg_02");
            API.removeIpl("prologue02");
            API.removeIpl("prologue02_lod");
            API.removeIpl("plg_03");
            API.removeIpl("prologue03");
            API.removeIpl("prologue03_lod");
            API.removeIpl("prologue03b");
            API.removeIpl("prologue03b_lod");
            API.removeIpl("prologue03_grv_dug");
            API.removeIpl("prologue03_grv_dug_lod");
            API.removeIpl("prologue_grv_torch");
            API.removeIpl("plg_04");
            API.removeIpl("prologue04");
            API.removeIpl("prologue04_lod");
            API.removeIpl("prologue04b");
            API.removeIpl("prologue04b_lod");
            API.removeIpl("prologue04_cover");
            API.removeIpl("des_protree_end");
            API.removeIpl("des_protree_start");
            API.removeIpl("des_protree_start_lod");
            API.removeIpl("plg_05");
            API.removeIpl("prologue05");
            API.removeIpl("prologue05_lod");
            API.removeIpl("prologue05b");
            API.removeIpl("prologue05b_lod");
            API.removeIpl("plg_06");
            API.removeIpl("prologue06");
            API.removeIpl("prologue06_lod");
            API.removeIpl("prologue06b");
            API.removeIpl("prologue06b_lod");
            API.removeIpl("prologue06_int");
            API.removeIpl("prologue06_int_lod");
            API.removeIpl("prologue06_pannel");
            API.removeIpl("prologue06_pannel_lod");
            API.removeIpl("prologue_m2_door");
            API.removeIpl("prologue_m2_door_lod");
            API.removeIpl("plg_occl_00");
            API.removeIpl("prologue_occl");
            API.removeIpl("plg_rd");
            API.removeIpl("prologuerd");
            API.removeIpl("prologuerdb");
            API.removeIpl("prologuerd_lod");
    }
    
     
    kova98 and Jorge Santamaria like this.
  2. Jorge Santamaria

    Jorge Santamaria Member

    Messages:
    38
    Likes Received:
    7
    Joined:
    Dec 8, 2016

Share This Page