SA-MP Forums Archive
How to add houses to Grand larceny? - 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: How to add houses to Grand larceny? (/showthread.php?tid=348814)



How to add houses to Grand larceny? - cowmilker69 - 06.06.2012

Ya hi I know you can enter houses in Grand larceny but what to do to add a house. For example, i want to make cj and sweets house accessiable. But i also want it to look like cjs house too.


Re: How to add houses to Grand larceny? - Lorenc_ - 07.06.2012

Remove this code from the gamemode:

pawn Код:
DisableInteriorEnterExits( );
If that's what I think you're talking about.


AW: How to add houses to Grand larceny? - Josh_Main - 07.06.2012

Look for a house system filterscript in the filterscript and plugins section on the forums, then add it to your server. PM me if you need help adding it.

Also, remove this.

Quote:

DisableInteriorEnterExits( );




AW: How to add houses to Grand larceny? - Extremo - 07.06.2012

You'll need a script that will save the locations of the entrance and the interior.

You'll need to represent the entrance with a pickup icon preferably so people know its there.

You'll need to teleport the player using SetPlayerPos, SetPlayerInterior and probably also SetPlayerVirtualWorld if you use the same interior multiple times.

You'll need to put all of that smoothly together and tada, you have your property system.


No, there is no way to add houses like the ones in GTA SA. Theoretically you could probably fake the player into believing so but that's another story.

Regards.


Re: How to add houses to Grand larceny? - cowmilker69 - 07.06.2012

thanks all for your help. could someone post all the code on like pastebin or something? cause i cant script lol


Re: How to add houses to Grand larceny? - Josh_Main - 10.06.2012

Sure, i can add it for you if you'd like me too?


Re: How to add houses to Grand larceny? - cowmilker69 - 10.06.2012

yes that would be great +rep