That line calculates the location of the X-axis, so you need to adjust that to make the 'side-position' bigger/smaller.
pawn Код:
y +=(distance *floatcos(-a, degrees));
That line calculates the location of the Y-axis, so basically how far the "position" sticks out for the player. Make it smaller for a shorter distance to the player.