mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-16 21:46:03 +01:00
feat: get player on client
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user