move requestmodel timeout to config

This commit is contained in:
Bostra committed 2024-04-27 20:49:14 -05:00
1 parent d9fbf56164
commit d60d10a5a5
11 files changed
+23 -22

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ local QBCore = exports['qb-core']:GetCoreObject()
CreateThread(function()
local current = "g_m_y_famdnf_01"
lib.requestModel(current, timeout)
lib.requestModel(current, Config.requestModelTime)
local CurrentLocation = Config.Travellingmerchant[math.random(#Config.Travellingmerchant)]
travellingmerchant = CreatePed(0, current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, CurrentLocation.h, false, false)
FreezeEntityPosition(travellingmerchant, true)