24.11.2013, 17:04
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Find the Float:z also..
Example
---
playerid The ID of the player.
Float:range The furthest distance the player can be from the point to be in range.
Float: x The X coordinate of the point to check the range to.
Float: y The Y coordinate of the point to check the range to.
Float: z The Z coordinate of the point to check the range to.
Find the Float:z also..
Example
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 20.0, -1575.50,720.000, z))
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, range, Float: x,Float: y, Float: z))
Float:range The furthest distance the player can be from the point to be in range.
Float: x The X coordinate of the point to check the range to.
Float: y The Y coordinate of the point to check the range to.
Float: z The Z coordinate of the point to check the range to.

