SA-MP Forums Archive
How to create the entry and exit to 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)
+--- Thread: How to create the entry and exit to house? (/showthread.php?tid=559577)



How to create the entry and exit to house? - _Application_ - 24.01.2015

How do I create the entry and exit from the house, please to have some help I got into trouble, it is the system's basic:

http://pastebin.com/mKcBtjJm

sorry my bad english , I'm sure you understand me


Re: How to create the entry and exit to house? - _Application_ - 24.01.2015

up..., please helpp my friends ((


Re: How to create the entry and exit to house? - lollypap54 - 25.01.2015

I see u have LoadHouse_data callback, so just create never ending pickup with 3dtext, where showing house owner, house cost if house is selling, and on down with what key it's entering.
So in onplayerstatechange do key enter, then if player in range of point with coordinates : HouseInfo[playerid][hEnterX] and ... and on end loadhouse_data, this is how i do it


Re: How to create the entry and exit to house? - _Application_ - 25.01.2015

please code ??


(help)


Re: How to create the entry and exit to house? - _Application_ - 25.01.2015

?