Need help with sort of borders
#1

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

Bump
Reply
#3

I don't understand what you mean, but maybe about Animation check?

https://sampwiki.blast.hk/wiki/GetAnimationName
Reply
#4

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

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

or.. you can use something like this -> https://sampforum.blast.hk/showthread.php?tid=427810
Reply
#7

Like this?

Reply
#8

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

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
Посмотреть сообщение
or.. you can use something like this -> https://sampforum.blast.hk/showthread.php?tid=427810
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)