forked from Simnation/Main
fix
This commit is contained in:
parent
1bd5411f91
commit
3a26224d6b
3 changed files with 82 additions and 59 deletions
|
@ -26,13 +26,28 @@ Config = {
|
|||
{
|
||||
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
|
||||
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,
|
||||
Invincible = true,
|
||||
BlockingOfNonTemporaryEvents = true,
|
||||
},
|
||||
FreezePerson = true, -- Using only FreezeEntityPosition
|
||||
Invincible = true, -- Using SetEntityInvincible, SetPedDiesWhenInjured, SetPedCanPlayAmbientAnims, SetPedCanRagdollFromPlayerImpact
|
||||
BlockingOfNonTemporaryEvents = true, -- Using SetBlockingOfNonTemporaryEvents
|
||||
},
|
||||
},
|
||||
{
|
||||
pedHash = `a_m_m_farmer_01`, -- Use ``(backticks) because it's faster than using GetHashKey
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue