Jump to content

[Custom Interiors]


Portside

Recommended Posts

  • Moderators

Ok, we are going slowly, you finally gave me the screenshot, but that one line you pasted here is not enough for me to spot the problem even if I was right about this:

I guess your interior is transparent because you didn't set the player's interior id but I'm not really sure.

So you basically need to use:

setElementInterior 

to the player with the right id.

Please show me the code that is doing the teleportation and the maping (with the markers etc).

For the code, you will find something like this:

function someFunction( hitelement ) 
    --some code here that I need to see 
end 
addEventHandler("onMarkerHit", root, someFunction) 

Link to comment

Sure.

First, I mapped the interior through the MTA: Map Editor, I went to an interior, ID 18 I think it was, I can't remember exactly.

Second, I opened the .map file with Notepad++, copied the whole thing and then went to http://convertffs.com/ to convert the file. I copied the converted version.

Third, I went to my interior-system/custom and created a .lua file and placed my converted version of my interior in there.

Fourth, I updated the meta.xml and tested it out.

PS. I also /getpos for my interior entrance and also inserted the co-ordinates.

That's basically what I done.

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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