SA-MP Forums Archive
Houses interior teleporter - 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: Houses interior teleporter (/showthread.php?tid=418965)



Houses interior teleporter - PaulDinam - 26.02.2013

I couldn't find any filterscript or something else..


Respuesta: Houses interior teleporter - Strier - 27.02.2013

Well.. you could create an /enter, /exit command if they stand in the front of the house..

/enter would set their interior world the interior has.
/exit would set their position back (infront of the house) and the interior to 0.

Things you're gonna use:

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint // if the player is not near the house entrancy /enter wont work, same for /exit.

https://sampwiki.blast.hk/wiki/Function:SetPlayerInterior // this will help you too...

https://sampwiki.blast.hk/wiki/SetPlayerPos < common sense..

http://weedarr.wikidot.com/interior

In setplayer pos you'll add the X Y Z Cords...
in setplayerinterior you'll add the ID (Interior)..

and you're done, i hope you meant this.


Re: Houses interior teleporter - PaulDinam - 27.02.2013

No.. lol.. I have a house system, and i'm looking for house interiors.


Re: Houses interior teleporter - Yves - 27.02.2013

you can also make them


Re: Houses interior teleporter - lean1337 - 27.02.2013

https://sampforum.blast.hk/showthread.php?tid=71648