SA-MP Forums Archive
Creating new house? - 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: Creating new house? (/showthread.php?tid=147434)



Creating new house? - iFuzo - 12.05.2010

How would I go about creating a new house.

Eg, When player walks onto /save spot they enter the house and it changes there world but they can also exit?


Re: Creating new house? - ViruZZzZ_ChiLLL - 12.05.2010

public OnPlayerEnterCheckpoint?

or just click here for the list of house systems
http://forum.sa-mp.com/index.php?topic=137738.0


Re: Creating new house? - iFuzo - 12.05.2010

Not sure if you got what I mean, But basicly I want to create gang houses with cars.

I want to learn how to do this :P


Re: Creating new house? - ViruZZzZ_ChiLLL - 12.05.2010

Quote:
Originally Posted by iFuzo
Not sure if you got what I mean, But basicly I want to create gang houses with cars.

I want to learn how to do this :P
Uhhhh, well for starters kindly explain it a little more clearly XD :P


Re: Creating new house? - playbox12 - 12.05.2010

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Quote:
Originally Posted by iFuzo
Not sure if you got what I mean, But basicly I want to create gang houses with cars.

I want to learn how to do this :P
Uhhhh, well for starters kindly explain it a little more clearly XD :P
He wants to make a script, that does this:

You walk upto a house you type /createhouse (for example)
It creates a house it sets the interior and saves it into a cfg file (i guess)

I hope I have it right


Re: Creating new house? - iFuzo - 13.05.2010

No, I just want to know how you add houses into a gamemode.


Re: Creating new house? - ViruZZzZ_ChiLLL - 13.05.2010

Script it :P and just SetPlayerPos(playerid, x, y, z) into the interior's coordinates
and then SetPlayerInterior(playerid, [Interior id])


Re: Creating new house? - iFuzo - 21.05.2010

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Script it :P and just SetPlayerPos(playerid, x, y, z) into the interior's coordinates
and then SetPlayerInterior(playerid, [Interior id])
Can you give me an example please?


Re: Creating new house? - playbox12 - 21.05.2010

SetPlayerPos(0,0,0,0); where it says 0,0,0,0 you put your coords then you do SetPlayerInterior(playerid,0); where it says 0 you put the interior ID goto ****** or samp wiki and search for gta sa interiors and then you shall see a list with interior postion and the interior id


Re: Creating new house? - ViruZZzZ_ChiLLL - 21.05.2010

Here you go http://forum.sa-mp.com/index.php?topic=143553.0
have fun with that