Log in to reply
 

How do I enable MP/Online Maps with C#



  • I don't like Simple Trainer but I keep it (disabled) if I need to enable Online Maps which AFAIK Menyoo can't do.

    Is there a simple way to code this in C# so I don't depend on a trainer?



  • @JohnFromGWN have you tested this native!? I use it to load Casino Diamond, I don't know if it is very smart, but it works.



  • @Niziul Thank you. I have an older version of SHDN since 3.4 broke my code, so I used this:

    Function.Call(Hash._LOAD_MP_DLC_MAPS);

    and it worked.

    Do you know how to load North Yankton without a trainer?

    Also can you share your code to load the Casino?



  • @JohnFromGWN I don't have the code anymore, sorry. :(



  • @JohnFromGWN
    Function.Call(Hash.REQUEST_IPL, "plg_01");
    Function.Call(Hash.REQUEST_IPL, "prologue01");
    Function.Call(Hash.REQUEST_IPL, "prologue01_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue01c");
    Function.Call(Hash.REQUEST_IPL, "prologue01c_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue01d");
    Function.Call(Hash.REQUEST_IPL, "prologue01d_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue01f");
    Function.Call(Hash.REQUEST_IPL, "prologue01f_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue01g");
    Function.Call(Hash.REQUEST_IPL, "prologue01h");
    Function.Call(Hash.REQUEST_IPL, "prologue01h_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue01i");
    Function.Call(Hash.REQUEST_IPL, "prologue01i_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue01j");
    Function.Call(Hash.REQUEST_IPL, "prologue01j_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue01k");
    Function.Call(Hash.REQUEST_IPL, "prologue01k_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue01z");
    Function.Call(Hash.REQUEST_IPL, "prologue01z_lod");
    Function.Call(Hash.REQUEST_IPL, "plg_02");
    Function.Call(Hash.REQUEST_IPL, "prologue02");
    Function.Call(Hash.REQUEST_IPL, "prologue02_lod");
    Function.Call(Hash.REQUEST_IPL, "plg_03");
    Function.Call(Hash.REQUEST_IPL, "prologue03");
    Function.Call(Hash.REQUEST_IPL, "prologue03_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue03b");
    Function.Call(Hash.REQUEST_IPL, "prologue03b_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue03_grv_dug");
    Function.Call(Hash.REQUEST_IPL, "prologue03_grv_dug_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue03b");
    Function.Call(Hash.REQUEST_IPL, "prologue0_grv_torch");
    Function.Call(Hash.REQUEST_IPL, "plg_04");
    Function.Call(Hash.REQUEST_IPL, "prologue04");
    Function.Call(Hash.REQUEST_IPL, "prologue04_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue04b");
    Function.Call(Hash.REQUEST_IPL, "prologue04b_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue04_cover");
    Function.Call(Hash.REQUEST_IPL, "des_potree_end");
    Function.Call(Hash.REQUEST_IPL, "des_potree_start");
    Function.Call(Hash.REQUEST_IPL, "des_potree_start_lod");
    Function.Call(Hash.REQUEST_IPL, "plg_05");
    Function.Call(Hash.REQUEST_IPL, "prologue05");
    Function.Call(Hash.REQUEST_IPL, "prologue05_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue05b");
    Function.Call(Hash.REQUEST_IPL, "prologue05b_lod");
    Function.Call(Hash.REQUEST_IPL, "plg_06");
    Function.Call(Hash.REQUEST_IPL, "prologue06");
    Function.Call(Hash.REQUEST_IPL, "prologue06_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue06b");
    Function.Call(Hash.REQUEST_IPL, "prologue06b_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue06_int");
    Function.Call(Hash.REQUEST_IPL, "prologue06_int_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue06_pannel");
    Function.Call(Hash.REQUEST_IPL, "prologue06_pannel_lod");
    Function.Call(Hash.REQUEST_IPL, "prologue_m2_door");
    Function.Call(Hash.REQUEST_IPL, "prologue_m2_door_lod");
    Function.Call(Hash.REQUEST_IPL, "plg_occl_00");
    Function.Call(Hash.REQUEST_IPL, "prologue_occl");
    Function.Call(Hash.REQUEST_IPL, "plg_rd");
    Function.Call(Hash.REQUEST_IPL, "prologuerd");
    Function.Call(Hash.REQUEST_IPL, "prologuerdb");
    Function.Call(Hash.REQUEST_IPL, "prologuerd_lod");
    Pretty sure this loads north yankton.



  • @M8T thank you. I realize this code is in Menyoo source, but often hard to figure it out and convert.

    Will try it.



  • @Niziul no worries



  • @M8T This is wonderful thank you - won't need to load with Menyoo first ever again. Not sure how you knew which IPLs to load and where?

    For those wishing to use this code, last line could be:

    Function.Call(Hash.SET_ENTITY_COORDS, Game.Player.Character, 3217.69, -4834.82, 111.81, 0, 0, 1);

    I didn't need to wait for the load or create a loop while not loaded, you might need to on a slow computer...don't know...this works perfectly for me.



  • @JohnFromGWN I'm glad it worked!

    Also if you still need to know how to load the casino:

    Function.Call(Hash.0x41B4893843BBDB74, "vw_int_placement_vw_interior_0_dlc_casino_main_milo");
    Function.Call(Hash._0x41B4893843BBDB74, "vw_casino_penthouse");
    Function.Call(Hash._0x41B4893843BBDB74, "vw_casino_carpark");
    Function.Call(Hash._0x41B4893843BBDB74, "vw_casino_main");
    Function.Call(Hash._0x41B4893843BBDB74, "vw_casino_garage");
    Function.Call(Hash.0x41B4893843BBDB74, "int_clawles_casino_milo");
    Function.Call(Hash._0x41B4893843BBDB74, "ch_h3_casino_cameras");
    Function.Call(Hash._0x41B4893843BBDB74, "vw_casino_billboard");

    Also 5mods changed some of the text so you need to add a _ after milo





  • @M8T haven't tried this yet but are you referencing mods for the interiors?
    Function.Call(Hash.0x41B4893843BBDB74, "int_clawles_casino_milo");

    Again, many thanks for the ipls and code.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.