Jump to content

Do i need to add dlc.rpf to server directory?


00burt00

Recommended Posts

Hello, i'm a complete noob to scripting, i have started a few days ago using @Xabi's WiredPlayers v2.0 gamemode & i'm wondering if i need to add dlc.rpf to get things from them to show in the world map, for example the windows on the casino are missing, i have requested the ipl & also the main casino like this

 

in constants.cs i added

new BusinessIplModel(BUSINESS_TYPE_CASINO, "vw_casino_main", new Vector3(1100.000, 220.000, -50.000))

 

in Globals.cs i added

            //Add casino
            NAPI.World.RequestIpl("hei_dlc_windows_casino");
            NAPI.World.RequestIpl("vw_casino_main");

 

I have also added this script to the client side in a new Casino.js file & updates the index to require this .js

this is my client side code


mp.events.add("loadInterior", (x, y, z, IPLName) => {
    var interior = mp.game.interior.getInteriorAtCoords(1100.000, 220.000, -50.000); 
    mp.game.streaming.requestIpl("vw_casino_main"); // interior name(IPL)
    mp.game.interior.refreshInterior(interior);

 

However i still fail to see the casino interior & the exterior windows remain missing. I saw a forum post about placing dlc.rpf's into the client side while i was trying to implement interiors from a prior dlc like this

 

\Client_packages\game_resources\dlcpacks\patchday23ng

 

then i requested their respective IPL's on the server & client side the same way i have with the casino and i had no results from this either.

 

I know i'm doing something completely wrong and noobish, my apologies, but i would greatly appreciate any help.

Thank you for reading, have a nice day :)

Edited by 00burt00
Link to comment
Share on other sites

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...