Is in interval
#1

Hi,

I'am getting player position and then compare after second, it's for afk system, but i want to check not only if excatly == pos == oldpos, but position could by in range off
Reply
#2

floatabs(pos-oldpos) < max_difference

or just use IsPlayerInRangeOfPoint
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)