From 912c05664a310c0c04c4e6f7bb3643e7436b32bf Mon Sep 17 00:00:00 2001 From: Nordi98 Date: Sun, 29 Jun 2025 08:18:20 +0200 Subject: [PATCH] Update config.lua --- resources/[tools]/bzzz_spawnped/config.lua | 38 +++++++--------------- 1 file changed, 11 insertions(+), 27 deletions(-) diff --git a/resources/[tools]/bzzz_spawnped/config.lua b/resources/[tools]/bzzz_spawnped/config.lua index af261fa19..106274e59 100644 --- a/resources/[tools]/bzzz_spawnped/config.lua +++ b/resources/[tools]/bzzz_spawnped/config.lua @@ -49,32 +49,16 @@ Config = { BlockingOfNonTemporaryEvents = true, -- Using SetBlockingOfNonTemporaryEvents }, }, - { - pedHash = `A_M_M_BankRobber_01`, -- Use ``(backticks) because it's faster than using GetHashKey - pedCoords = vector4(-352.1639, -51.3455, 48.0365, 339.4478), -- x, y, z, heading - pedAnimation = { - animDict = 'random@burial', - animName = 'a_burial', - animFlag = 1, - }, - pedProp = { - propHash = `prop_tool_shovel`, - propBone = 28422, -- boneIndex (https://wiki.rage.mp/index.php?title=Bones) - propPlacement = { - 0.0, -- xPos - 0.0, -- yPos - 0.24, -- zPos - 0.0, -- xRot - 0.0, -- yRot - 0.0, -- zRot - }, - }, - pedSettings = { - FreezePerson = true, -- Using only FreezeEntityPosition - Invincible = true, -- Using SetEntityInvincible, SetPedDiesWhenInjured, SetPedCanPlayAmbientAnims, SetPedCanRagdollFromPlayerImpact - BlockingOfNonTemporaryEvents = true, -- Using SetBlockingOfNonTemporaryEvents - }, - }, - }, +{ + pedHash = `A_M_M_BankRobber_01`, + pedCoords = vector4(-352.1639, -51.3455, 48.0365, 339.4478), + pedScenario = "WORLD_HUMAN_STAND_GUARD", -- Default standing behavior + pedSettings = { + FreezePerson = true, -- Completely frozen + Invincible = true, -- Cannot be killed + BlockingOfNonTemporaryEvents = true, -- No distractions + } +} +} }