Calculate the difference between the position
#1

I have problem to make the Distance check.

I wanted to do something like:

Calculate the difference between the position of player's old pos and player's new pos then compare them and paying by margin
Reply
#2

GetPlayerDistanceFromPoint.

PHP код:
GetPlayerDistanceFromPoint(playeridFloat:pointxFloat:pointyFloat:pointz); 
Reply
#3

Quote:
Originally Posted by xJayce
Посмотреть сообщение
GetPlayerDistanceFromPoint.

PHP код:
GetPlayerDistanceFromPoint(playeridFloat:pointxFloat:pointyFloat:pointz); 
im using GetPlayerDistanceBetweenPoints is that cool?
Reply
#4

Yeah it's ok but I prefer using SA-MP natives because they're much faster than PAWN code.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)