SA-MP Forums Archive
Question about houses and businesses. - 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)
+--- Thread: Question about houses and businesses. (/showthread.php?tid=649698)



Question about houses and businesses. - Rexrey - 13.02.2018

I always asked myself how do the house and business systems work.

It's one single house/business mapped objects, then there's a different virtual world for each house/business or how does it work?
I don't think a house/business map is created for each pickup
I'm talking about dynamic systems.
Thanks in advance


Re: Question about houses and businesses. - Mugala - 13.02.2018

you can use streamer's CreateDynamicObject to create an objects in different virtual worlds.


Re: Question about houses and businesses. - PepsiCola23 - 13.02.2018

Houses and bussinesses can have different interiors.

For a dynamic system,you need to make a cmd thats gonna connect the house exit to the house entrance coordinates,create a pickup at that place amd also a 3d text label.then,you gotta save them somewhere ( a database ) and load them when the server starts.

There are a lot of this type of systems on the forum ,from where you can learn a lot of things. Good luck