Код:
function playerToPoint(playerid, radius, x, y, z) { local playerpos = getPlayerCoordinates(playerid); return isPointInBall(x, y, z, playerpos[0], playerpos[1], playerpos[2], radius); }