If(IsPlayerInRangeOfPoint(playerid, 1.0, dGunData[f][ObjPos][0], dGunData[f][ObjPos][1] - 0.5 * floatcos(-(ang + 90.0), degrees), dGunData[f][ObjPos][2]-1))