Houses interior teleporter
#2

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.
Reply


Messages In This Thread
Houses interior teleporter - by PaulDinam - 26.02.2013, 21:08
Respuesta: Houses interior teleporter - by Strier - 27.02.2013, 03:25
Re: Houses interior teleporter - by PaulDinam - 27.02.2013, 07:05
Re: Houses interior teleporter - by Yves - 27.02.2013, 07:07
Re: Houses interior teleporter - by lean1337 - 27.02.2013, 13:11

Forum Jump:


Users browsing this thread: 1 Guest(s)