Update weed.lua
This commit is contained in:
1 parent
2412f2b58e
commit
c3f318e3b4
1 file changed
+2
-3
+2
-3
@@ -388,11 +388,10 @@ local WeedShop = {}
|
|||||||
local current = "u_m_m_jesus_01"
|
local current = "u_m_m_jesus_01"
|
||||||
|
|
||||||
lib.requestModel(current, Config.RequestModelTime)
|
lib.requestModel(current, Config.RequestModelTime)
|
||||||
local CurrentLocation = vector3(1030.46, -3203.63, -38.2)
|
local CurrentLocation = Config.WeedSaleman
|
||||||
local WeedGuy = CreatePed(0,current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, CurrentLocation.h, false, false)
|
local WeedGuy = CreatePed(0,current,CurrentLocation.x,CurrentLocation.y,CurrentLocation.z-1, CurrentLocation.w, false, false)
|
||||||
FreezeEntityPosition(WeedGuy, true)
|
FreezeEntityPosition(WeedGuy, true)
|
||||||
SetEntityInvincible(WeedGuy, true)
|
SetEntityInvincible(WeedGuy, true)
|
||||||
SetEntityHeading(WeedGuy, 270.0)
|
|
||||||
exports['qb-target']:AddTargetEntity(WeedGuy, {
|
exports['qb-target']:AddTargetEntity(WeedGuy, {
|
||||||
options = {
|
options = {
|
||||||
{label = "Weed Shop",icon = "fas fa-eye",action = function() lib.showContext('WeedShop')end},
|
{label = "Weed Shop",icon = "fas fa-eye",action = function() lib.showContext('WeedShop')end},
|
||||||
|
|||||||
Reference in new issue
Block a user