From 1bd5411f91e72971dcac56442dec11fb59934207 Mon Sep 17 00:00:00 2001 From: Nordi98 Date: Thu, 26 Jun 2025 17:07:46 +0200 Subject: [PATCH] Update config.lua --- resources/[tools]/bzzz_spawnped/config.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/resources/[tools]/bzzz_spawnped/config.lua b/resources/[tools]/bzzz_spawnped/config.lua index b62a120f4..04ef4b1eb 100644 --- a/resources/[tools]/bzzz_spawnped/config.lua +++ b/resources/[tools]/bzzz_spawnped/config.lua @@ -25,14 +25,15 @@ Config = { Persons = { { pedHash = `A_F_Y_Indian_01`, -- Use ``(backticks) because it's faster than using GetHashKey - pedCoords = vector4(1561.6321, 3801.2871, 33.4187, 207.3153), -- x, y, z, heading + pedCoords = vector4(1561.6321, 3801.2871, 33.4187, 207.3153), pedScenario = 'WORLD_HUMAN_STAND_MOBILE', + pedAnimation = nil, -- or define a default animation pedSettings = { - FreezePerson = true, -- Using only FreezeEntityPosition - Invincible = true, -- Using SetEntityInvincible, SetPedDiesWhenInjured, SetPedCanPlayAmbientAnims, SetPedCanRagdollFromPlayerImpact - BlockingOfNonTemporaryEvents = true, -- Using SetBlockingOfNonTemporaryEvents - }, - }, + FreezePerson = true, + Invincible = true, + BlockingOfNonTemporaryEvents = true, + }, +}, { pedHash = `a_m_m_farmer_01`, -- Use ``(backticks) because it's faster than using GetHashKey pedCoords = vector4(1633.0272, 3863.1299, 33.1044, 308.1584), -- x, y, z, heading