IsPlayerInRangeOfPoint?
#1

How far is one unit? I've searched everywhere but I can't find an answer.
Reply
#2

Quote:
(playerid, Float:range, Float : x, Float:y, Float:z)
Quote:
if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438 ))
{

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Reply
#3

What do you exactly mean?
Reply
#4

1 unit is a meter, seeing as GetPlayerDistanceFromPoint is measured in meters.
Reply
#5

What do u mean really?
Reply
#6

He's asking the units that IsPlayerInRangeOfPoint is measured in, which is metres.
Reply
#7

Код:
if(IsPlayerInRangeOfPoint(playerid, 1, x, y, z))
{
    SetPlayerHealth(playerid, health);
}
How far away can a person be for this to effect them?
Reply
#8

@JacobTr, a person would be 1 metre away from the point for it to affect them.
Reply
#9

Quote:
Originally Posted by sammp
Посмотреть сообщение
He's asking the units that IsPlayerInRangeOfPoint is measured in, which is metres.
Oh okay, thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)