feat: get player on client

This commit is contained in:
Andyyy7666 committed 2023-07-16 12:29:20 +02:00
1 parent c06ca96457
commit 87b2451a93
1 file changed
+4
+4
View File
@@ -1,3 +1,7 @@
function NDCore.getPlayer()
return NDCore.player
end
function NDCore.GetPlayersFromCoords(distance, coords)
if coords then
coords = type(coords) == "table" and vec3(coords.x, coords.y, coords.z) or coords