move requestmodel timeout to config
This commit is contained in:
1 parent
d9fbf56164
commit
d60d10a5a5
11 files changed
+23
-22
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user