Posts: 342
Threads: 64
Joined: Aug 2013
Reputation:
0
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.
Posts: 342
Threads: 64
Joined: Aug 2013
Reputation:
0
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.
Posts: 233
Threads: 48
Joined: Aug 2013
Reputation:
0
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.