mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
feat(functions): GetPlayer function
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6
|
-- For support join my discord: https://discord.gg/Z9Mxu72zZ6
|
||||||
|
|
||||||
|
-- return the players selected character.
|
||||||
|
function NDCore.Functions.GetPlayer(player)
|
||||||
|
return NDCore.Players[player]
|
||||||
|
end
|
||||||
|
|
||||||
-- Callback to update each selected character on the server.
|
-- Callback to update each selected character on the server.
|
||||||
function NDCore.Functions.GetPlayers(players)
|
function NDCore.Functions.GetPlayers(players)
|
||||||
if not cb then return NDCore.Players end
|
if not cb then return NDCore.Players end
|
||||||
|
|||||||
Reference in New Issue
Block a user