mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-11-24 12:28:35 +00:00
feat: get player server info function
This commit is contained in:
1 parent
bc7e2ddd2a
commit
eaba11e4e3
1 file changed
+6
@@ -22,6 +22,12 @@ function NDCore.getPlayers(key, value)
|
|||||||
return players
|
return players
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---@param source number
|
||||||
|
---@return table
|
||||||
|
function NDCore.getPlayerServerInfo(source)
|
||||||
|
return PlayersInfo[source]
|
||||||
|
end
|
||||||
|
|
||||||
---@param fileLocation string|tabale
|
---@param fileLocation string|tabale
|
||||||
---@return boolean
|
---@return boolean
|
||||||
function NDCore.loadSQL(fileLocation, resource)
|
function NDCore.loadSQL(fileLocation, resource)
|
||||||
|
|||||||
Reference in new issue
Block a user