feat: get player on client

This commit is contained in:
Andyyy7666
2023-07-16 12:29:20 +02:00
parent c06ca96457
commit 87b2451a93

View File

@@ -1,3 +1,7 @@
function NDCore.getPlayer()
return NDCore.player
end
function NDCore.GetPlayersFromCoords(distance, coords) function NDCore.GetPlayersFromCoords(distance, coords)
if coords then if coords then
coords = type(coords) == "table" and vec3(coords.x, coords.y, coords.z) or coords coords = type(coords) == "table" and vec3(coords.x, coords.y, coords.z) or coords