Config = { Animals = { { animalHash = `a_c_cow`, -- Use ``(backticks) because it's faster than using GetHashKey -- https://docs.fivem.net/docs/game-references/ped-models/#animals animalCoords = vector4(1580.2, 2169.23, 78.22, 40.94 ), -- x, y, z, heading animalScenario = 'WORLD_COW_GRAZING', -- https://github.com/DioneB/gtav-scenarios animalSettings = { FreezeAnimal = true, -- Using only FreezeEntityPosition Invincible = true, -- Using SetEntityInvincible, SetPedDiesWhenInjured, SetPedCanPlayAmbientAnims, SetPedCanRagdollFromPlayerImpact BlockingOfNonTemporaryEvents = true, -- Using SetBlockingOfNonTemporaryEvents }, }, { animalHash = `a_c_hen`, animalCoords = vector4(1582.36, 2167.7, 78.3, 8.31), animalScenario = 'WORLD_HEN_PECKING', animalSettings = { FreezeAnimal = true, Invincible = true, BlockingOfNonTemporaryEvents = true, }, }, }, 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), pedScenario = 'WORLD_HUMAN_STAND_MOBILE', pedAnimation = nil, -- or define a default animation pedSettings = { 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 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 }, }, }, }