ox_target
ox_target copied to clipboard
Overall distance never higher than 7
I actually noticed on line 167 of the client-side main.lua that the distance was forced to 7, so when we set a distance on our target options greater than 7, it's never taken into account. For props this might be understandable, but for large polyZones it forces you to look at the floor, ceiling, wall or props less than 7 away. Logically, if I'm in a fairly large zone, and the target is pointing at the floor of the same zone that's more than 7 away from me, I should be able to access it.
fairly large zone
I'd personally never use large zones as targets, and I don't want to remove a rather reasonable restriction on target distance.