1
0
Fork 0
forked from Simnation/Main

Update config.lua

This commit is contained in:
Nordi98 2025-06-29 08:20:20 +02:00
parent 912c05664a
commit 3d551404ea

View file

@ -23,42 +23,57 @@ 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),
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
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
}
},
pedSettings = {
FreezePerson = true, -- Completely frozen
Invincible = true, -- Cannot be killed
BlockingOfNonTemporaryEvents = true, -- No distractions
FreezePerson = true, -- Maintains position perfectly
Invincible = true, -- Can't be interrupted
BlockingOfNonTemporaryEvents = true -- No AI interference
}
}
pedHash = `CS_Bankman`,
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
}
},
pedSettings = {
FreezePerson = true, -- Maintains position perfectly
Invincible = true, -- Can't be interrupted
BlockingOfNonTemporaryEvents = true -- No AI interference
}
}
}
}