From 87b2451a9303709bc431d1eed29c22424c4070e8 Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Sun, 16 Jul 2023 12:29:20 +0200 Subject: [PATCH] feat: get player on client --- client/functions.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/functions.lua b/client/functions.lua index 4b1e75f..53693c7 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -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