1
0
Fork 0
forked from Simnation/Main
Main/resources/[tools]/bzzz_spawnped/config.lua

80 lines
2.8 KiB
Lua
Raw Normal View History

2025-06-17 21:38:35 +02:00
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 = {
2025-06-29 08:18:20 +02:00
{
2025-06-29 08:20:20 +02:00
pedHash = `A_F_Y_Indian_01`,
pedCoords = vector4(1561.6321, 3801.2871, 33.4187, 207.3153),
pedAnimation = {
animDict = 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a',
animName = 'idle_a',
animFlag = 1
},
pedProp = {
propHash = `prop_cs_tablet`, -- Standard GTA tablet prop
propBone = 60309, -- Right hand bone for tablet
propPlacement = {
0.03, -- xPos (slightly forward)
-0.02, -- yPos (centered)
-0.03, -- zPos (height adjustment)
0.0, -- xRot
0.0, -- yRot
0.0 -- zRot
}
},
2025-06-29 08:18:20 +02:00
pedSettings = {
2025-06-29 08:20:20 +02:00
FreezePerson = true, -- Maintains position perfectly
Invincible = true, -- Can't be interrupted
BlockingOfNonTemporaryEvents = true -- No AI interference
2025-06-29 08:18:20 +02:00
}
}
2025-06-29 08:20:20 +02:00
pedHash = `CS_Bankman`,
2025-06-29 08:21:31 +02:00
pedCoords = vector4(-352.1639, -51.3455, 48.0365, 339.4478),
2025-06-29 08:20:20 +02:00
pedAnimation = {
animDict = 'amb@code_human_in_bus_passenger_idles@female@tablet@idle_a',
animName = 'idle_a',
animFlag = 1
},
pedProp = {
propHash = `prop_cs_tablet`, -- Standard GTA tablet prop
propBone = 60309, -- Right hand bone for tablet
propPlacement = {
0.03, -- xPos (slightly forward)
-0.02, -- yPos (centered)
-0.03, -- zPos (height adjustment)
0.0, -- xRot
0.0, -- yRot
0.0 -- zRot
}
},
pedSettings = {
FreezePerson = true, -- Maintains position perfectly
Invincible = true, -- Can't be interrupted
BlockingOfNonTemporaryEvents = true -- No AI interference
}
2025-06-29 08:18:20 +02:00
}
2025-06-17 21:38:35 +02:00
}
2025-06-29 08:20:20 +02:00