muzamilsumra Posted April 12, 2016 Share Posted April 12, 2016 (edited) Dear friends, when using Open Interiors there is this house with ID 207105 at (-174.2375,497.3078,137.667) just below Franklin's house. When using Open All interiors mod you can access it nicely. But how to access and setup the interiors without open all interiors mod? while on open interiors mod and in that house i use this code to get the InteriorID Dim InteriorId As IntegerInteriorID = (Native.Function.Call(Of Integer)(Native.Hash.GET_INTERIOR_AT_COORDS, player.Position.X, player.Position.Y, player.Position.Z)) UI.ShowSubtitle(InteriorID.ToString()) Which gives me 207105 I have tried with this code below to no avail Public Shared Sub SetInteriorActive(ByVal X As Single, ByVal Y As Single, ByVal Z As Single) Dim interiorID As Integer = Native.Function.Call(Of Integer)(Hash.GET_INTERIOR_AT_COORDS, X, Y, Z) Native.Function.Call(Hash._0x2CA429C029CCF247, New InputArgument() {interiorID}) Native.Function.Call(Hash.SET_INTERIOR_ACTIVE, interiorID, True) 'Native.Function.Call(Hash.DISABLE_INTERIOR, interiorID, False) End Sub SetInteriorActive(player.Position.X, player.Position.Y, player.Position.Z) and this too SetInteriorActive(-174.2375, 497.3078, 137.667) Any help will highly be appreciated. Edited April 12, 2016 by muzamilsumra Link to comment Share on other sites More sharing options...
AHK1221 Posted April 12, 2016 Share Posted April 12, 2016 Dear friends, when using Open Interiors there is this house with ID 207105 at (-174.2375,497.3078,137.667) just below Franklin's house. When using Open All interiors mod you can access it nicely. But how to access and setup the interiors without open all interiors mod? while on open interiors mod and in that house i use this code to get the InteriorID Dim InteriorId As IntegerInteriorID = (Native.Function.Call(Of Integer)(Native.Hash.GET_INTERIOR_AT_COORDS, player.Position.X, player.Position.Y, player.Position.Z)) UI.ShowSubtitle(InteriorID.ToString()) Which gives me 207105 I have tried with this code below to no avail Public Shared Sub SetInteriorActive(ByVal X As Single, ByVal Y As Single, ByVal Z As Single) Dim interiorID As Integer = Native.Function.Call(Of Integer)(Hash.GET_INTERIOR_AT_COORDS, X, Y, Z) Native.Function.Call(Hash._0x2CA429C029CCF247, New InputArgument() {interiorID}) Native.Function.Call(Hash.SET_INTERIOR_ACTIVE, interiorID, True) 'Native.Function.Call(Hash.DISABLE_INTERIOR, interiorID, False) End Sub SetInteriorActive(player.Position.X, player.Position.Y, player.Position.Z) and this too SetInteriorActive(-174.2375, 497.3078, 137.667) Any help will highly be appreciated. This code should work, did you try teleporting in? Because the Open All Interiors mod makes custom doors (i think) for us. Link to comment Share on other sites More sharing options...
muzamilsumra Posted April 12, 2016 Author Share Posted April 12, 2016 Yes i teleported inside but i keep on falling. Link to comment Share on other sites More sharing options...
Skorpro Posted April 17, 2016 Share Posted April 17, 2016 Yes i teleported inside but i keep on falling. Maybe you need the Object Spawn Unlocker... Link to comment Share on other sites More sharing options...
qiangqiang101 Posted April 17, 2016 Share Posted April 17, 2016 maybe it was IPL. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now