Posts: 359
Threads: 63
Joined: Jul 2010
Reputation:
0
so far I have a for loop ( connected players ) checking while less than 100, 100 positions of IsPlayerInRangeOfPoint, there was a math plugin for raw math calculations, but there must be a better way to do this loop.
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
It's really poor way to do it, your better off using Dynamic areas which can often avoid having to use IsPlayerInRangeOfPoint() all together as well as timers.
Posts: 472
Threads: 26
Joined: Jan 2012
Reputation:
0
you need a loop better than for loop?
foreach by ******
Posts: 359
Threads: 63
Joined: Jul 2010
Reputation:
0
That's why I as asking Pottus, think I could use 100 dynamic areas? What are dynamic areas.. all I know is I'd rather not have to check 100 rangeofpoints for only.. 4 meter radius'
Posts: 472
Threads: 26
Joined: Jan 2012
Reputation:
0
well pottus i dont get what you want to say to him
as if i think you just say him that he should'nt check wheather a player is near a point but insted that he is in an dyanamic area what a whole 3D area for just a point like a cp or pickup
or maybe i am wrong
i am sorry then