Update oxyruns.lua
This commit is contained in:
1 parent
c4f3320d96
commit
323d12ad31
1 file changed
+3
-6
+3
-6
@@ -52,13 +52,10 @@ RegisterNetEvent("md-drugs:client:getoxylocationroute", function()
|
|||||||
AddTextComponentSubstringPlayerName("drug Meet")
|
AddTextComponentSubstringPlayerName("drug Meet")
|
||||||
EndTextCommandSetBlipName(deliveryBlip)
|
EndTextCommandSetBlipName(deliveryBlip)
|
||||||
SetBlipRoute(deliveryBlip, true)
|
SetBlipRoute(deliveryBlip, true)
|
||||||
local current = "g_m_y_famdnf_01"
|
local current = "g_m_y_famdnf_01"
|
||||||
lib.requestModel(current, Config.RequestModelTime)
|
lib.requestModel(current, Config.RequestModelTime)
|
||||||
local oxybuyer = CreatePed(0, current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, CurrentLocation.w, false, false)
|
local oxybuyer = CreatePed(0, current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, CurrentLocation.w, false, false)
|
||||||
--SetEntityHeading(oxybuyer, 180)
|
Freeze(oxybuyer, true, CurrentLocation.w)
|
||||||
--FreezeEntityPosition(oxybuyer, true)
|
|
||||||
--SetEntityInvincible(oxybuyer, true)
|
|
||||||
Freeze(oxybuyer, true, CurrentLocation.w)
|
|
||||||
repeat
|
repeat
|
||||||
Wait(1000)
|
Wait(1000)
|
||||||
until #(GetEntityCoords(PlayerPedId()) - vector3(CurrentLocation.x,CurrentLocation.y,CurrentLocation.z)) < 5.0
|
until #(GetEntityCoords(PlayerPedId()) - vector3(CurrentLocation.x,CurrentLocation.y,CurrentLocation.z)) < 5.0
|
||||||
|
|||||||
Reference in new issue
Block a user