[EASY] Check Players leaving an area
#1

Hey Ladies and Gentlemen,
i just want to get an answer to an easy question,because my head burns of getting an answer.

I think,sometimes you cant get it on by yourself...

So, i want to check if a players is NOT in an area, i tried following:
Код:
if(X >= oldxabove && Y <= oldy || Y >= oldyabove && X <= oldx )
(X = PlayerPosition -> X)
(Y = PlayerPosition -> Y)
(oldxabove = Top right Corner of the area) not sure
(oldyabove = Down left corner of the area) not sure

I think my failure is in...
*.the if condition

Hope on your answer,
Trooper

P.S.: Would be even nice to see how you wold detect people leaving an area...
Reply
#2

No one an idea?
I mean even if you cant script,cant you just check the if-condition pattern?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)