Shouting at the door - 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: Shouting at the door (
/showthread.php?tid=517714)
Shouting at the door -
TheSy - 06.06.2014
Good morning.
It's been several days that I try to make a system to communicate with someone inside a house when you are outside and vice verca.
I positions X, Y, Z inside and outside.
Suddenly someone could make me this system?
If you are outside in front of the pickup of the house with a command /cry we can communicate with those inside.
And those from the inside to communicate with those outside.
thx
Re : Shouting at the door -
S4t3K - 06.06.2014
Make a ProxDetector on the position of the entrance for the person which is inside and make another on the position of the exit for the person which is outside.
Re: Shouting at the door -
TheSy - 06.06.2014
I've tried for my part, except when the person cries when she is inside it sends the message that she cries (Normal) but it also sends the message that is supposed to happen outside.
Re: Shouting at the door -
Beckett - 06.06.2014
Enterance, if player is standing on/near(proxdetector) the entrance then success.
Inside, Loop, check if someone is in range of that point, if success > send message.
Re: Shouting at the door -
RenovanZ - 06.06.2014
Quote:
Originally Posted by TheSy
I've tried for my part, except when the person cries when she is inside it sends the message that she cries (Normal) but it also sends the message that is supposed to happen outside.
|
You should check, when player inside the house, send the message outside too. And when player outside the house, send the message inside too.
Re: Shouting at the door -
TheSy - 06.06.2014
xxxxxx
Re: Shouting at the door -
TheSy - 06.06.2014
up plz
Re: Shouting at the door -
MacT - 06.06.2014
Can you show entrace and inside interior code ?
Or code where you want put it ?