Animations / Prop animations?

Hello, I want to make player’s ped play animation with prop that have moving parts. I saw video on youtube where peds were packing meth and putting it into the boxes and they were also crushing it and then pouring it into the box. You can see these animations in 14:04 and 14:22 on this video Ep161 OUR MC METH LAB! FULL SETUP & ALL UPGRADES WALKTHROUGH! - Let's Play GTA 5 Online PC 60fps HD - YouTube I know everything is possible but I just cannot find way to do this. I would really appreciate the help :smiley:
//
I tried to attach entities to each other but there must be another way to do this, because (in the video) there’s also a sound from crushing ice

4 Likes

Hi,

You need to work with both animations and props attached.

For example, cocaine needs :

Dictionnary :

anim@amb@business@coc@coc_unpack_cut_left@
anim@amb@business@coc@coc_packing_hi@

anim :

coke_cut_v5_coccutter
full_cycle_v3_pressoperator

‘coke_cut_v5_bakingsoda’,
‘coke_cut_v5_creditcard’,
‘coke_cut_v5_creditcard^1’,
‘full_cycle_v3_scoop’,
‘full_cycle_v3_FoldedBox’,
‘full_cycle_v3_dollmould’,
‘full_cycle_v3_dollcast’,
‘full_cycle_v3_dollCast^1’,
‘full_cycle_v3_dollCast^2’,
‘full_cycle_v3_dollCast^3’,
‘full_cycle_v3_cokePress’,
‘full_cycle_v3_cocdoll’,
‘full_cycle_v3_cocbowl’,
‘full_cycle_v3_boxedDoll’,

Props :
‘bkr_prop_coke_bakingsoda_o’,
‘prop_cs_credit_card’,
‘bkr_prop_coke_fullscoop_01a’,
‘bkr_prop_coke_doll’,
‘bkr_prop_coke_boxedDoll’,
‘bkr_prop_coke_dollCast’,
‘bkr_prop_coke_dollmould’,
‘bkr_prop_coke_fullmetalbowl_02’,
‘bkr_prop_coke_press_01b’,
‘bkr_prop_coke_dollboxfolded’,

With all of that, you have to create zone where to play the function you’ll have to create to play anims with props like this example to attach credit card to cut the cocaine

local CarteDroite = CreateObject(GetHashKey(‘prop_cs_business_card’), 0, 0, 0, true, true, true)
AttachEntityToEntity(CarteDroite, PlayerPedId(), GetPedBoneIndex(PlayerPedId(), 57005), 0.125, 0, -0.05, 0, 180.0, 110.0, true, true, false, true, 1, true)
local CarteGauche = CreateObject(GetHashKey(‘prop_cs_business_card’), 0, 0, 0, true, true, true)
AttachEntityToEntity(CarteGauche, PlayerPedId(), GetPedBoneIndex(PlayerPedId(), 18905), 0.125, 0, 0.06, 0, 180.0, 110.0, true, true, false, true, 1, true)

Good luck with that :smiley:

You could use either @Scullyy or mine emote menus :relaxed: they’re free too (and always will be :sunglasses:)

I also have tutorials that should come in handy :slightly_smiling_face:

1 Like

Hmm okay, I’ll try this but I have another question - is there any way to get animation set from GTA? I mean to find the place where are all those animations, I’m not talking 'bout all gta animation list, but something like opening OpenIV/RPF Explorer, finding dlc with that stuff and searching somewhere there for those animations. Because when I attached prop to ped and played animation the prop didn’t change (e.g if it was the bag from video I wrote about in the first post it didn’t close itself)

Nvm, finally after 12h of non-stop doing research I found a way to do this - by using SynchronizedScenes. If anyone was looking for meth cooking animation in the methlab then here it is:

RegisterCommand("meth", function()
    local animDict, animName = "anim@amb@business@meth@meth_monitoring_cooking@cooking@", "chemical_pour_long_cooker"
    RequestAnimDict(animDict)
    while not HasAnimDictLoaded(animDict) do
        Citizen.Wait(10)
    end
    local ped = PlayerPedId()
    SetEntityCoords(ped, vector3(1005.773, -3200.402, -38.524))
    Citizen.Wait(1)
    local targetPosition = GetEntityCoords(ped)
    local animDuration = GetAnimDuration(animDict, animName) * 1000
    FreezeEntityPosition(ped, true)
    local scenePos, sceneRot = vector3(1010.656, -3198.445, -38.925), vector3(0.0, 0.0, 0.0) -- 353200l
    local netScene = NetworkCreateSynchronisedScene(scenePos, sceneRot, 2, false, false, 1065353216, 0, 1.3)
    NetworkAddPedToSynchronisedScene(ped, netScene, animDict, animName, 1.5, -4.0, 1, 16, 1148846080, 0)
    
    local sacid = CreateObjectNoOffset(`bkr_prop_meth_sacid`, targetPosition, 1, 1, 0)
    NetworkAddEntityToSynchronisedScene(sacid, netScene, animDict, "chemical_pour_long_sacid", 4.0, -8.0, 1)

    local ammonia = CreateObjectNoOffset(`bkr_prop_meth_ammonia`, targetPosition, 1, 1, 0)
    NetworkAddEntityToSynchronisedScene(ammonia, netScene, animDict, "chemical_pour_long_ammonia", 4.0, -8.0, 1)

    local clipboard = CreateObjectNoOffset(`bkr_prop_fakeid_clipboard_01a`, targetPosition, 1, 1, 0)
    NetworkAddEntityToSynchronisedScene(clipboard, netScene, animDict, "chemical_pour_long_clipboard", 4.0, -8.0, 1)

    local pencil = CreateObjectNoOffset(`prop_pencil_01`, targetPosition, 1, 1, 0)
    NetworkAddEntityToSynchronisedScene(pencil, netScene, animDict, "chemical_pour_long_pencil", 4.0, -8.0, 1)

    NetworkStartSynchronisedScene(netScene)
    Citizen.Wait(animDuration)
    NetworkStopSynchronisedScene(netScene)
    DeleteObject(sacid)
    DeleteObject(ammonia)
    DeleteObject(clipboard)
    DeleteObject(pencil)
    RemoveAnimDict(animDict)
    FreezeEntityPosition(ped, false)
end, false)
3 Likes

Was you able to figure out the animation for the packing part? Like the one where they had the meth baggy on a scale and was zipping it up

Yeah it was a little bit complicated but I made it work.

Hey can you share that code please it will be appreciated Brotehr

Sorry guys, I don’t have much time lately, but here’s the code I was working on, I hope it will help you :wink:

RegisterCommand("meth1", function()
    local animDict, animName = "anim@amb@business@meth@meth_monitoring_cooking@cooking@", "chemical_pour_long_cooker"
    RequestAnimDict(animDict)
    while not HasAnimDictLoaded(animDict) do
        Citizen.Wait(10)
    end
    local ped = PlayerPedId()
    SetEntityCoords(ped, vector3(1005.773, -3200.402, -38.524))
    Citizen.Wait(1)
    local targetPosition = GetEntityCoords(ped)
    local animDuration = GetAnimDuration(animDict, animName) * 1000
    FreezeEntityPosition(ped, true)
    local scenePos, sceneRot = vector3(1010.656, -3198.445, -38.925), vector3(0.0, 0.0, 0.0)
    local netScene = NetworkCreateSynchronisedScene(scenePos, sceneRot, 2, false, false, 1065353216, 0, 1.3)
    NetworkAddPedToSynchronisedScene(ped, netScene, animDict, animName, 1.5, -4.0, 1, 16, 1148846080, 0)
    local sacid = CreateObjectNoOffset(`bkr_prop_meth_sacid`, targetPosition, 1, 1, 0)
    NetworkAddEntityToSynchronisedScene(sacid, netScene, animDict, "chemical_pour_long_sacid", 4.0, -8.0, 1)
    local ammonia = CreateObjectNoOffset(`bkr_prop_meth_ammonia`, targetPosition, 1, 1, 0)
    NetworkAddEntityToSynchronisedScene(ammonia, netScene, animDict, "chemical_pour_long_ammonia", 4.0, -8.0, 1)
    local clipboard = CreateObjectNoOffset(`bkr_prop_fakeid_clipboard_01a`, targetPosition, 1, 1, 0)
    NetworkAddEntityToSynchronisedScene(clipboard, netScene, animDict, "chemical_pour_long_clipboard", 4.0, -8.0, 1)
    local pencil = CreateObjectNoOffset(`prop_pencil_01`, targetPosition, 1, 1, 0)
    NetworkAddEntityToSynchronisedScene(pencil, netScene, animDict, "chemical_pour_long_pencil", 4.0, -8.0, 1)
    NetworkStartSynchronisedScene(netScene)
    Citizen.Wait(animDuration)
    NetworkStopSynchronisedScene(netScene)
    DeleteObject(sacid)
    DeleteObject(ammonia)
    DeleteObject(clipboard)
    DeleteObject(pencil)
    RemoveAnimDict(animDict)
    FreezeEntityPosition(ped, false)
end, false)

RegisterCommand("meth2", function()
    local ver = ""
    local animDict, animName = "anim@amb@business@meth@meth_smash_weight_check@", "break_weigh_"..ver.."char02"
    RequestAnimDict(animDict)
    while not HasAnimDictLoaded(animDict) do
        Citizen.Wait(10)
    end
    local ped = PlayerPedId()
    local targetPosition = vector3(1012.628, -3194.619, -39.589)
    SetEntityCoords(ped, targetPosition)
    Citizen.Wait(1)
    local animDuration = GetAnimDuration(animDict, animName) * 1000
    FreezeEntityPosition(ped, true)
    local scenePos, sceneRot = vector3(1008.734, -3196.646, -39.99), vector3(0.0, 0.0, 1.08)
    local netScene = NetworkCreateSynchronisedScene(scenePos, sceneRot, 2, false, false, 1065353216, 0, 1.3)
    NetworkAddPedToSynchronisedScene(ped, netScene, animDict, animName, 1.5, -4.0, 1, 16, 1148846080, 0)
    local objects, sceneObjects = {}, {
        {
            hash = `w_me_hammer`,
            animName = "break_weigh_"..ver.."hammer"
        },
        {
            hash = `bkr_Prop_Meth_SmashedTray_01_frag_`,
            animName = "break_weigh_"..ver.."tray01"
        },
        {
            hash = `bkr_Prop_Meth_Tray_02a`,
            animName = "break_weigh_"..ver.."tray01^1"
        },
        {
            hash = `bkr_Prop_Meth_Tray_02a`,
            animName = "break_weigh_"..ver.."tray01^2"
        },
        {
            hash = `bkr_Prop_Meth_SmashedTray_01_frag_`,
            animName = "break_weigh_"..ver.."tray01^3"
        }
    }
    for i=1, #sceneObjects, 1 do
        local obj = CreateObjectNoOffset(sceneObjects[i].hash, targetPosition, true, true, true)
        NetworkAddEntityToSynchronisedScene(obj, netScene, animDict, sceneObjects[i].animName, 4.0, -8.0, 1)
        objects[#objects+1] = obj
    end
    NetworkStartSynchronisedScene(netScene)
    Citizen.Wait(animDuration)
    NetworkStopSynchronisedScene(netScene)
    for i=1, #objects, 1 do
        DeleteObject(objects[i])
    end
    DeleteObject(scoop)
    RemoveAnimDict(animDict)
    FreezeEntityPosition(ped, false)
end, false)

RegisterCommand("meth3", function()
    local ver = ""
    local animDict, animName = "anim@amb@business@meth@meth_smash_weight_check@", "break_weigh_"..ver.."char01"
    RequestAnimDict(animDict)
    while not HasAnimDictLoaded(animDict) do
        Citizen.Wait(10)
    end
    local ped = PlayerPedId()
    local targetPosition = vector3(1012.628, -3194.619, -39.589)
    SetEntityCoords(ped, targetPosition)
    Citizen.Wait(1)
    local animDuration = GetAnimDuration(animDict, animName) * 1000
    FreezeEntityPosition(ped, true)
    local scenePos, sceneRot = vector3(1008.734, -3196.646, -39.99), vector3(0.0, 0.0, 1.08) -- 353221l
    local netScene = NetworkCreateSynchronisedScene(scenePos, sceneRot, 2, false, false, 1065353216, 0, 1.3)
    NetworkAddPedToSynchronisedScene(ped, netScene, animDict, animName, 1.5, -4.0, 1, 16, 1148846080, 0)
    local objects, sceneObjects = {}, {
        {
            hash = `bkr_prop_meth_bigbag_04a`,
            animName = "break_weigh_"..ver.."box01"
        },
        {
            hash = `bkr_prop_meth_bigbag_03a`,
            animName = "break_weigh_"..ver.."box01^1"
        },
        {
            hash = `bkr_prop_meth_openbag_02`,
            animName = "break_weigh_"..ver.."methbag01"
        },
        {
            hash = `bkr_prop_meth_openbag_02`,
            animName = "break_weigh_"..ver.."methbag01^1"
        },
        {
            hash = `bkr_prop_meth_scoop_01a`,
            animName = "break_weigh_"..ver.."scoop"
        }
    }
    for i=1, #sceneObjects, 1 do
        local obj = CreateObjectNoOffset(sceneObjects[i].hash, targetPosition, true, true, true)
        NetworkAddEntityToSynchronisedScene(obj, netScene, animDict, sceneObjects[i].animName, 4.0, -8.0, 1)
        objects[#objects+1] = obj
    end
    NetworkStartSynchronisedScene(netScene)
    Citizen.Wait(2000)
    animDuration = 3000
    Citizen.Wait(animDuration)
    NetworkStopSynchronisedScene(netScene)
    for i=1, #objects, 1 do
        DeleteObject(objects[i])
    end
    DeleteObject(scoop)
    RemoveAnimDict(animDict)
    FreezeEntityPosition(ped, false)
end, false)

Tactical update on meth animations :smiley:

RegisterCommand("meth4", function()
    local ver = "v3_"
    local animDict, animName = "anim@amb@business@meth@meth_smash_weight_check@", "break_weigh_"..ver.."char01"
    RequestAnimDict(animDict)
    while not HasAnimDictLoaded(animDict) do
        Citizen.Wait(10)
    end
    local animDuration = GetAnimDuration(animDict, animName) * 1000
    local ped = PlayerPedId()
    local coords = GetEntityCoords(ped)
    local scenePos, sceneRot = vector3(1008.734, -3196.646, -39.99), vector3(0.0, 0.0, 1.08)
    local scenes = {
        {
            {
                hash = `w_me_hammer`,
                animName = "break_weigh_"..ver.."hammer"
            },
            {
                hash = `bkr_Prop_Meth_SmashedTray_01_frag_`,
                animName = "break_weigh_"..ver.."tray01"
            },
            {
                hash = `bkr_Prop_Meth_Tray_02a`,
                animName = "break_weigh_"..ver.."tray01^1"
            }
        },
        {
            {
                hash = `bkr_Prop_Meth_Tray_02a`,
                animName = "break_weigh_"..ver.."tray01^2"
            },
            {
                hash = `bkr_Prop_Meth_SmashedTray_01_frag_`,
                animName = "break_weigh_"..ver.."tray01^3"
            },
            {
                hash = `bkr_Prop_Meth_SmashedTray_01_frag_`,
                animName = "break_weigh_"..ver.."tray01^4"
            }
        },
        {
            {
                hash = `bkr_prop_meth_bigbag_04a`,
                animName = "break_weigh_"..ver.."box01"
            },
            {
                hash = `bkr_prop_meth_bigbag_03a`,
                animName = "break_weigh_"..ver.."box01^1"
            },
            {
                hash = `bkr_prop_meth_openbag_02`,
                animName = "break_weigh_"..ver.."methbag01"
            }
        },
        {
            {
                hash = `bkr_prop_meth_openbag_02`,
                animName = "break_weigh_"..ver.."methbag01^1"
            },
            {
                hash = `bkr_prop_meth_openbag_02`,
                animName = "break_weigh_"..ver.."methbag01^2"
            },
            {
                hash = `bkr_prop_meth_openbag_02`,
                animName = "break_weigh_"..ver.."methbag01^3"
            }
        },
        {
            {
                hash = `bkr_prop_meth_openbag_02`,
                animName = "break_weigh_"..ver.."methbag01^4"
            },
            {
                hash = `bkr_prop_meth_openbag_02`,
                animName = "break_weigh_"..ver.."methbag01^5"
            },
            {
                hash = `bkr_prop_meth_openbag_02`,
                animName = "break_weigh_"..ver.."methbag01^6"
            }
        },
        {
            {
                hash = `bkr_prop_meth_scoop_01a`,
                animName = "break_weigh_"..ver.."scoop"
            },
            {
                hash = `bkr_prop_coke_scale_01`,
                animName = "break_weigh_"..ver.."scale"
            },
            {
                hash = `bkr_prop_fakeid_penclipboard`,
                animName = "break_weigh_"..ver.."pen"
            }
        },
        {
            {
                hash = `bkr_prop_fakeid_clipboard_01a`,
                animName = "break_weigh_"..ver.."clipboard"
            },
            {
                hash = `bkr_Prop_Meth_Tray_02a`,
                animName = "break_weigh_"..ver.."tray01^5"
            }
        }
    }
    local scenesList, entitiesList = {}, {}
    for i=1, #scenes, 1 do
        local scene = NetworkCreateSynchronisedScene(scenePos, sceneRot, 2, false, false, 1065353216, 0, 1.3)
        NetworkAddPedToSynchronisedScene(ped, scene, animDict, animName, 1.5, -4.0, 1, 16, 1148846080, 0)
        for j=1, #scenes[i], 1 do
            local s = scenes[i][j]
            RequestModel(s.hash)
            while not HasModelLoaded(s.hash) do
                Citizen.Wait(0)
            end
            local obj = CreateObjectNoOffset(s.hash, coords, true, true, true)
            SetModelAsNoLongerNeeded(s.hash)
            entitiesList[#entitiesList+1] = obj
            NetworkAddEntityToSynchronisedScene(obj, scene, animDict, s.animName, 4.0, -8.0, 1)
        end
        scenesList[#scenesList+1] = scene
    end
    DisableCamCollisionForEntity(ped)
    FreezeEntityPosition(ped, true)
    for i=1, #scenesList, 1 do
        NetworkStartSynchronisedScene(scenesList[i])
    end
    print(animDuration)
    Citizen.Wait(animDuration-11000)
    -- Citizen.Wait(45000)
    for i=1, #scenesList, 1 do
        NetworkStopSynchronisedScene(scenesList[i])
    end
    for i=1, #entitiesList, 1 do
        DeleteEntity(entitiesList[i])
    end
    RemoveAnimDict(animDict)
    FreezeEntityPosition(ped, false)
end, false)

where can i find other animations ?

decompiled gta scripts

How can i do that :frowning:

just search on google or gta5mods for it

1 Like

Well can you find animations for coke lab

RegisterCommand("coke", function()
    local animDict, animName = "anim@amb@business@coc@coc_unpack_cut_left@", "coke_cut_coccutter"
    RequestAnimDict(animDict)
    while not HasAnimDictLoaded(animDict) do
        Citizen.Wait(10)
    end
    local animDuration = GetAnimDuration(animDict, animName) * 1000
    local ped = PlayerPedId()
    local coords = GetEntityCoords(ped)
    local scenePos, sceneRot = vector3(1096.975, -3196.228, -39.632), vector3(0.0, 0.0, 180.0)
    local scenes = {
        {
            {
                hash = `bkr_prop_coke_bakingsoda_o`,
                animName = "coke_cut_bakingsoda"
            },
            {
                hash = `prop_cs_credit_card`,
                animName = "coke_cut_creditcard"
            },
            {
                hash = `prop_cs_credit_card`,
                animName = "coke_cut_creditcard^1"
            }
        }
    }
    local scenesList, entitiesList = {}, {}
    for i=1, #scenes, 1 do
        local scene = NetworkCreateSynchronisedScene(scenePos, sceneRot, 2, false, false, 1065353216, 0, 1.3)
        NetworkAddPedToSynchronisedScene(ped, scene, animDict, animName, 1.5, -4.0, 1, 16, 1148846080, 0)
        for j=1, #scenes[i], 1 do
            local s = scenes[i][j]
            local obj = s.entity
            if not obj or not DoesEntityExist(obj) then
                RequestModel(s.hash)
                while not HasModelLoaded(s.hash) do
                    Citizen.Wait(0)
                end
                obj = CreateObjectNoOffset(s.hash, coords, true, true, true)
                SetModelAsNoLongerNeeded(s.hash)
                entitiesList[#entitiesList+1] = obj
            else
                while not NetworkHasControlOfEntity(obj) do
                    Citizen.Wait(1)
                    NetworkRequestControlOfEntity(obj)
                end
                if not NetworkGetEntityIsNetworked(obj) then
                    NetworkRegisterEntityAsNetworked(obj)
                end
                SetEntityAsMissionEntity(obj, true, true)
                SetEntityDynamic(obj, true)
                FreezeEntityPosition(obj, false)
            end
            NetworkAddEntityToSynchronisedScene(obj, scene, animDict, s.animName, 4.0, -8.0, 1)
        end
        scenesList[#scenesList+1] = scene
    end
    DisableCamCollisionForEntity(ped)
    FreezeEntityPosition(ped, true)
    for i=1, #scenesList, 1 do
        NetworkStartSynchronisedScene(scenesList[i])
    end
    print(animDuration)
    -- Citizen.Wait(animDuration-11000)
    Citizen.Wait(animDuration-3500)
    for i=1, #scenesList, 1 do
        NetworkStopSynchronisedScene(scenesList[i])
    end
    for i=1, #entitiesList, 1 do
        DeleteEntity(entitiesList[i])
    end
    RemoveAnimDict(animDict)
    FreezeEntityPosition(ped, false)
end, false)
RegisterCommand("coke1", function()
    local ver = "v3_"
    local animDict, animName = "anim@amb@business@coc@coc_packing_hi@", "full_cycle_"..ver.."pressoperator"
    RequestAnimDict(animDict)
    while not HasAnimDictLoaded(animDict) do
        Citizen.Wait(10)
    end
    local animDuration = GetAnimDuration(animDict, animName) * 1000
    local ped = PlayerPedId()
    local coords = GetEntityCoords(ped)
    local scenePos, sceneRot = vector3(1093.58, -3196.614, -39.995), vector3(0.0, 0.0, 0.0)
    local scenes = {
        {
            {
                hash = `bkr_prop_coke_fullscoop_01a`,
                animName = "full_cycle_"..ver.."scoop"
            },
            {
                hash = `bkr_prop_coke_doll`,
                animName = "full_cycle_"..ver.."cocdoll"
            },
            {
                hash = `bkr_prop_coke_boxedDoll`,
                animName = "full_cycle_"..ver.."boxedDoll"
            }
        },
        {
            {
                hash = `bkr_prop_coke_dollCast`,
                animName = "full_cycle_"..ver.."dollcast"
            },
            {
                hash = `bkr_prop_coke_dollCast`,
                animName = "full_cycle_"..ver.."dollCast^1"
            },
            {
                hash = `bkr_prop_coke_dollCast`,
                animName = "full_cycle_"..ver.."dollCast^2"
            }
        },
        {
            {
                hash = `bkr_prop_coke_dollCast`,
                animName = "full_cycle_"..ver.."dollCast^3"
            },
            {
                hash = `bkr_prop_coke_dollmould`,
                animName = "full_cycle_"..ver.."dollmould"
            },
            {
                hash = `bkr_prop_coke_fullmetalbowl_02`,
                animName = "full_cycle_"..ver.."cocbowl"
            }
        },
        {
            {
                hash = `bkr_prop_coke_press_01b`,
                animName = "full_cycle_"..ver.."cokePress"
            },
            {
                hash = `bkr_prop_coke_dollboxfolded`,
                animName = "full_cycle_"..ver.."FoldedBox"
            },
            {
                hash = `bkr_prop_coke_dollboxfolded`,
                animName = "full_cycle_"..ver.."FoldedBox^1"
            }
        },
        {
            {
                hash = `bkr_prop_coke_dollboxfolded`,
                animName = "full_cycle_"..ver.."FoldedBox^2"
            }
        }
    }
    local scenesList, entitiesList = {}, {}
    for i=1, #scenes, 1 do
        local scene = NetworkCreateSynchronisedScene(scenePos, sceneRot, 2, false, false, 1065353216, 0, 1.3)
        NetworkAddPedToSynchronisedScene(ped, scene, animDict, animName, 1.5, -4.0, 1, 16, 1148846080, 0)
        for j=1, #scenes[i], 1 do
            local s = scenes[i][j]
            RequestModel(s.hash)
            while not HasModelLoaded(s.hash) do
                Citizen.Wait(0)
            end
            local obj = CreateObjectNoOffset(s.hash, coords, true, true, true)
            SetModelAsNoLongerNeeded(s.hash)
            NetworkAddEntityToSynchronisedScene(obj, scene, animDict, s.animName, 4.0, -8.0, 1)
            entitiesList[#entitiesList+1] = obj
        end
        scenesList[#scenesList+1] = scene
    end
    DisableCamCollisionForEntity(ped)
    FreezeEntityPosition(ped, true)
    for i=1, #scenesList, 1 do
        NetworkStartSynchronisedScene(scenesList[i])
    end
    -- Citizen.Wait(animDuration)
    Citizen.Wait(45000)
    for i=1, #scenesList, 1 do
        NetworkStopSynchronisedScene(scenesList[i])
    end
    for i=1, #entitiesList, 1 do
        DeleteEntity(entitiesList[i])
    end
    RemoveAnimDict(animDict)
    FreezeEntityPosition(ped, false)
end)

Thank you, but i hoped you gave me another animation.
I allready have those t,o animation but i saw a script that has new animation like holding green box and take coke from it !
I was hoping if you knew some new animation !

Could you show me those new animations? Clip, screenshots or sth

How do you find the right emotes? i am trying to find the emote where the player opens the container doors how would you start the search?