SA-MP Forums Archive
Solved. [Adding objects into an interior] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Solved. [Adding objects into an interior] (/showthread.php?tid=137627)



Solved. [Adding objects into an interior] - Scenario - 29.03.2010

Okay... So I use teleports, to go into my interiors... (obviously)

But, how do I use CreateObject(objectid, X, Y, Z...) in interiors?

I know it's possible, but I don't know how to do it, any ideas?


Re: [HowTo] How can I have objects in an interior using a teleport? - jamesbond007 - 29.03.2010

i dont know either if anyone knows please do tell us!




Re: [HowTo] How can I have objects in an interior using a teleport? - XRVX - 29.03.2010

All (streaming) objects appear in all Interiors and Virtual Worlds


Re: [HowTo] How can I have objects in an interior using a teleport? - Calgon - 29.03.2010

Use a streamer (like Incognito's streamer), or create your own function to detect when a player's interior /virtual world changes then CreatePLAYERObject (other wise everyone (despite them not being in the interior / virtual world) will see the object(s).


Re: [HowTo] How can I have objects in an interior using a teleport? - Jay. - 29.03.2010

Sorry i don't no


Re: [HowTo] How can I have objects in an interior using a teleport? - Scenario - 29.03.2010

Quote:
Originally Posted by FreddoX [BINMAN
]
Use a streamer (like Incognito's streamer), or create your own function to detect when a player's interior /virtual world changes then CreatePLAYERObject (other wise everyone (despite them not being in the interior / virtual world) will see the object(s).
So if I stream an object, it will automatically work? Or is there another code? If there is another code, please give an example...


Re: [HowTo] How can I have objects in an interior using a teleport? - Geso - 19.05.2010

It will automatically work...


Re: [HowTo] How can I have objects in an interior using a teleport? - Kyosaur - 19.05.2010

Quote:
Originally Posted by Geso
It will automatically work...
What he said.


Objects are not bound to virtual worlds nor interiors. If you wish to have those objects appear in ONLY that interior or virtual world, then use incognito's streamer plugin; or make a streamer yourself, and add a vw/interior check.


Re: [HowTo] How can I have objects in an interior using a teleport? - Scenario - 19.05.2010

Guys, this has been solved for a long time.


Re: [HowTo] How can I have objects in an interior using a teleport? - Kyosaur - 19.05.2010

Quote:
Originally Posted by RealCop228
Guys, this has been solved for a long time.
Ohh wow, i didnt even noticed he bumped it lol.