Portside Posted February 14, 2014 Share Posted February 14, 2014 Hey. I'd like to add my own custom interiors but the thing is, when I add them and make an interior IG it's a blank space. The interior isn't there, I've already converted the file using the SA:MP object converter, but still isn't working. Help?! Link to comment
Moderators Citizen Posted February 14, 2014 Moderators Share Posted February 14, 2014 Could you show us the creation of that interior and a screenshot to really understand your problem ? I guess your interior is transparent because you didn't set the player's interior id but I'm not really sure. Regards, Citizen Link to comment
Portside Posted February 14, 2014 Author Share Posted February 14, 2014 Can I just send you my file? Have you got Skype? I could give you the whole interior-system to give you the whole understanding. Link to comment
Moderators Citizen Posted February 15, 2014 Moderators Share Posted February 15, 2014 You also just can post the revelant code here ... Link to comment
Portside Posted February 15, 2014 Author Share Posted February 15, 2014 Sure. What is it you need exactly? Link to comment
Moderators Citizen Posted February 15, 2014 Moderators Share Posted February 15, 2014 As I said, the relevant code (creation of the objects, the teleportation code if you did one to go into that interior etc) and a screenshot of what you are calling the "blank space". Link to comment
Portside Posted February 16, 2014 Author Share Posted February 16, 2014 { 18, 54.037689208984, -97.526741027832, 1324.6743164063, 0 }, -- 135 mafia torture That's what I have in my S_interior_map Link to comment
Portside Posted February 16, 2014 Author Share Posted February 16, 2014 http://imgur.com/4JnhppQ This is the blank space I'm talking about. Link to comment
Moderators Citizen Posted February 16, 2014 Moderators Share Posted February 16, 2014 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
Portside Posted February 16, 2014 Author Share Posted February 16, 2014 What? lol... maybe you haven't noticed but I'm quite noobish at scripting. So I'll just hand you the s_interior_system. It's probably in there. >CODE REMOVED Link to comment
Moderators Citizen Posted February 16, 2014 Moderators Share Posted February 16, 2014 Yeah I saw some interesting things but it didn't have the code I was expected. How did you create this interior ? I want everything you did yourself to create that interior please. Link to comment
Portside Posted February 16, 2014 Author Share Posted February 16, 2014 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
Castillo Posted February 16, 2014 Share Posted February 16, 2014 We don't give support with leaked scripts. Topic locked. Link to comment
Recommended Posts