[QB-Core] Need Assistance with Selling custom interiors

It is easy enough to use the qb-houses script, however; we are needing to be able to also sell some custom interiors such has pent houses and others from the Online interiors Script. does any one know of a script that would work for this or have any suggestions about how we could use the current qb-houses script to work for this use case?

2 Likes

QBCore already has that functionality. If you look inside qb-houses you can see that the shells are created by qb-interior by referring to a function inside of qb-interior. You can copy paste that function if you want and let it use another shell. Inside qb-houses you then can add another tier and put the export with the new function inside of there so it creates the right shell.

unfortunatly these are not shells. they are mlos and ymaps. thats why i am having the problem

2 Likes

There is a way to add the export to qb-interior that does not use a model spawn so it would just teleport you to the IPL which is what you linked

Hi,

We got the teleport in working :slight_smile:
But we’re struggling with the exit teleport.

Does the offset works like this:
Check coords outdoor
Check coords indoor
Calculate the difference
Put the difference as offset.

Or check indoor first then outdoor?

Thanks in advance!

1 Like

Check the qb-houses script in the server side file. I added a command for getting offset

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.