forked from Simnation/Main
55 lines
2.2 KiB
Lua
55 lines
2.2 KiB
Lua
![]() |
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_m_m_farmer_01`, -- Use ``(backticks) because it's faster than using GetHashKey
|
||
|
pedCoords = vector4(1584.36, 2169.41, 78.29, 184.73), -- 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
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
|