mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
fix: missing and invalid types and parameters
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---@param coords vector3 The coords to check from.
|
||||
---@param maxDistance number The max distance to check.
|
||||
---@param includePlayer boolean Whether or not to include the current player.
|
||||
---@param includePlayer boolean? Whether or not to include the current player.
|
||||
---@return table players
|
||||
function lib.getNearbyPlayers(coords, maxDistance, includePlayer)
|
||||
local players = GetActivePlayers()
|
||||
|
||||
@@ -9,7 +9,7 @@ function lib.requestStreamedTextureDict(textureDict, timeout)
|
||||
error(("expected textureDict to have type 'string' (received %s)"):format(type(textureDict)))
|
||||
end
|
||||
|
||||
RequestStreamedTextureDict(textureDict)
|
||||
RequestStreamedTextureDict(textureDict, false)
|
||||
|
||||
if coroutine.running() then
|
||||
timeout = tonumber(timeout) or 500
|
||||
|
||||
Reference in New Issue
Block a user