Updated resource wait time and changed sorting function value

This commit is contained in:
Dan
2019-11-07 21:27:23 +00:00
parent d1159e8c2c
commit 1dd7f4047c

View File

@@ -15,7 +15,7 @@ local type = type
------------------------------------------------------------------------]]--
Citizen.CreateThread( function()
-- Wait for a short period of time to give the resource time to load
Citizen.Wait( 5000 )
Citizen.Wait( 10000 )
-- Get the name of the resource, for example the default name is 'wk_wrs2'
local resourceName = GetCurrentResourceName()
@@ -98,7 +98,7 @@ RADAR.sorting = {
func = function( a, b )
if ( a.size > b.size + 2.0 ) then
return true
elseif ( a.size - b.size <= 2.0 ) then
elseif ( a.size - b.size <= 1.0 ) then
return false
end