Closed RysonTV closed 3 years ago
You should check if this also happens on other GTA MP mods or singleplayer, I assume this is not an alt:V problem, because alt:V does not do modifications to the natives that would cause that.
Ok thank you for the quick response
I'm using this native and always get reliable results from it. Even with your snippet. Can you show more context how you call it? (example positions e.g.)
seems to work now with undefined. Issue can be closed. Thanks and sorry for the entrance
Client/server version
Build 2.23, branch release
Current behavior Native isPointOnRoad always returns false. https://natives.altv.mp/#/0x125BF4ABFC536B09
Expected behavior Should return true, when user stays on road
Steps to reproduce https://pastebin.com/49qrjvZq
Context (environment) I want to detect if a player tries to plant an object on streets.
Possible solution Dunno