diff --git a/Client/AnimationList.lua b/Client/AnimationList.lua index 5affb24..80d16b0 100644 --- a/Client/AnimationList.lua +++ b/Client/AnimationList.lua @@ -109,17 +109,6 @@ DP.Shared = { --[emotename] = {dictionary, animation, displayname, targetemotename, additionalanimationoptions} -- you dont have to specify targetemoteanem, if you do dont it will just play the same animation on both. -- targetemote is used for animations that have a corresponding animation to the other player. - ["highfive"] = {"mp_ped_interaction", "highfive_guy_a", "Highfive", "highfive2", AnimationOptions = - { - EmoteMoving = true, - EmoteDuration = 3000, - SyncOffsetFront = 0.9 - }}, - ["highfive2"] = {"mp_ped_interaction", "highfive_guy_b", "Highfive 2", "highfive", AnimationOptions = - { - EmoteMoving = true, - EmoteDuration = 3000 - }}, ["handshake"] = {"mp_ped_interaction", "handshake_guy_a", "Handshake", "handshake2", AnimationOptions = { EmoteMoving = true, @@ -133,8 +122,9 @@ DP.Shared = { }}, ["hug"] = {"mp_ped_interaction", "kisses_guy_a", "Hug", "hug2", AnimationOptions = { - SyncOffsetFront = 1.05, - EmoteMoving = false, + EmoteMoving = false, + EmoteDuration = 5000, + SyncOffsetFront = 1.05, }}, ["hug2"] = {"mp_ped_interaction", "kisses_guy_b", "Hug 2", "hug", AnimationOptions = { diff --git a/Client/Emote.lua b/Client/Emote.lua index 05e2a17..f7a2fbd 100644 --- a/Client/Emote.lua +++ b/Client/Emote.lua @@ -307,6 +307,8 @@ function OnEmotePlay(EmoteName) end elseif EmoteName.AnimationOptions.EmoteMoving then MovementType = 51 + elseif EmoteName.AnimationOptions.EmoteMoving == false then + MovementType = 0 end else MovementType = 0