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
@@ -28,7 +28,7 @@ AddEventHandler("md-drugs:client:getloccoke", function()
|
||||
SetBlipRoute(deliveryBlip, true)
|
||||
druglocation = CircleZone:Create(CurrentLocation, 5,{ name = "cokesell", debugPoly = false })
|
||||
druglocation:onPlayerInOut(function(isPointInside) if isPointInside then RemoveBlip(deliveryBlip) end end)
|
||||
lib.requestModel("g_m_y_famdnf_01", 500)
|
||||
lib.requestModel("g_m_y_famdnf_01", Config.requestModelTime)
|
||||
local current = "g_m_y_famdnf_01"
|
||||
drugdealer = CreatePed(0, current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, 90.0, false, false)
|
||||
FreezeEntityPosition(drugdealer, true)
|
||||
@@ -119,7 +119,7 @@ AddEventHandler("md-drugs:client:getloccrack", function()
|
||||
SetBlipRoute(deliveryBlip, true)
|
||||
druglocation = CircleZone:Create(CurrentLocation, 5,{ name = "cracksell", debugPoly = false })
|
||||
druglocation:onPlayerInOut(function(isPointInside) if isPointInside then RemoveBlip(deliveryBlip) end end)
|
||||
lib.requestModel("g_m_y_famdnf_01", 500)
|
||||
lib.requestModel("g_m_y_famdnf_01", Config.requestModelTime)
|
||||
local current = "g_m_y_famdnf_01"
|
||||
drugdealer = CreatePed(0, current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, 90.0, false, false)
|
||||
FreezeEntityPosition(drugdealer, true)
|
||||
@@ -210,7 +210,7 @@ AddEventHandler("md-drugs:client:getlocheroin", function()
|
||||
SetBlipRoute(deliveryBlip, true)
|
||||
druglocation = CircleZone:Create(CurrentLocation, 5,{ name = "heroinsell", debugPoly = false })
|
||||
druglocation:onPlayerInOut(function(isPointInside) if isPointInside then RemoveBlip(deliveryBlip) end end)
|
||||
lib.requestModel("g_m_y_famdnf_01", 500)
|
||||
lib.requestModel("g_m_y_famdnf_01", Config.requestModelTime)
|
||||
local current = "g_m_y_famdnf_01"
|
||||
drugdealer = CreatePed(0, current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, 90.0, false, false)
|
||||
FreezeEntityPosition(drugdealer, true)
|
||||
@@ -299,7 +299,7 @@ AddEventHandler("md-drugs:client:getloclsd", function()
|
||||
SetBlipRoute(deliveryBlip, true)
|
||||
druglocation = CircleZone:Create(CurrentLocation, 5,{ name = "lsdsell", debugPoly = false })
|
||||
druglocation:onPlayerInOut(function(isPointInside) if isPointInside then RemoveBlip(deliveryBlip) end end)
|
||||
lib.requestModel("g_m_y_famdnf_01", 500)
|
||||
lib.requestModel("g_m_y_famdnf_01", Config.requestModelTime)
|
||||
local current = "g_m_y_famdnf_01"
|
||||
drugdealer = CreatePed(0, current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, 90.0, false, false)
|
||||
FreezeEntityPosition(drugdealer, true)
|
||||
@@ -387,7 +387,7 @@ AddEventHandler("md-drugs:client:getlocxtc", function()
|
||||
SetBlipRoute(deliveryBlip, true)
|
||||
druglocation = CircleZone:Create(CurrentLocation, 5,{ name = "xtcsell", debugPoly = false })
|
||||
druglocation:onPlayerInOut(function(isPointInside) if isPointInside then RemoveBlip(deliveryBlip) end end)
|
||||
lib.requestModel("g_m_y_famdnf_01", 500)
|
||||
lib.requestModel("g_m_y_famdnf_01", Config.requestModelTime)
|
||||
local current = "g_m_y_famdnf_01"
|
||||
drugdealer = CreatePed(0, current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, 90.0, false, false)
|
||||
FreezeEntityPosition(drugdealer, true)
|
||||
|
||||
Reference in new issue
Block a user