Need help with sort of borders -
TonyII - 03.11.2013
Hey, this is pretty hard for me to explain but I'll try my best. I want something to be like a border for example if the player stands on the border they get frozen. I don't mean IsPlayerInRangeOfPoint but a straight line that they cannot pass.
Re: Need help with sort of borders -
TonyII - 04.11.2013
Bump
AW: Need help with sort of borders -
Skimmer - 04.11.2013
I don't understand what you mean, but maybe about Animation check?
https://sampwiki.blast.hk/wiki/GetAnimationName
Re: Need help with sort of borders -
TonyII - 04.11.2013
I mean like for example, I can do IsPlayerInRangeOfPoint(playerid,10,X,Y,Z) to check if player is in a range of 10. But instead of a range of 10 I want a straight line so they cannot pass the line.
Re: Need help with sort of borders -
Tagathron - 04.11.2013
Tony,you can create an array of points,and then check if player is in range of any of them.
Just put a small value to the range,and then it will seem like it's a line.
Re: Need help with sort of borders -
Ada32 - 04.11.2013
or.. you can use something like this ->
https://sampforum.blast.hk/showthread.php?tid=427810
AW: Need help with sort of borders -
Skimmer - 04.11.2013
Like this?
Re: AW: Need help with sort of borders -
Tagathron - 04.11.2013
Quote:
Originally Posted by Skimmer
Like this?

|
Yeah.He could set up a timer,so it checks if someone is on the line.
P.S. Tony don't BUMP. It's against the rules.
Re: AW: Need help with sort of borders -
TonyII - 04.11.2013
Quote:
Originally Posted by Tagathron
Tony,you can create an array of points,and then check if player is in range of any of them.
Just put a small value to the range,and then it will seem like it's a line.
|
Thats what came up to my mind first but it would've been alot of work. Thanks anyway.
Quote:
Originally Posted by Ada32
|
I'm going to try that, thanks.
Quote:
Originally Posted by Skimmer
Like this?

|
Thats exactly what I was trying to tell but was having quite trouble with it. Thanks.
Quote:
Originally Posted by Tagathron
Yeah.He could set up a timer,so it checks if someone is on the line.
P.S. Tony don't BUMP. It's against the rules.
|
It passed 24 hours so it's not against the rules