From ab7390f56c746fcace4949ce1349befb2a1e1707 Mon Sep 17 00:00:00 2001 From: RockySouthpaw <55056068+RockySouthpaw@users.noreply.github.com> Date: Sat, 17 Oct 2020 00:22:05 -0400 Subject: [PATCH] Fixed animations. --- resources/client/cl_main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/client/cl_main.ts b/resources/client/cl_main.ts index 295c577..5f4d7f2 100644 --- a/resources/client/cl_main.ts +++ b/resources/client/cl_main.ts @@ -96,7 +96,7 @@ async function phoneCloseAnim() { //Phone Close Animation deletePhone() //Deletes the prop early incase they get out of the vehicle. await Delay(250) //lets it get to a certain point loadAnimDict(dict) //loads the new animation - TaskPlayAnim(GetPlayerPed(-1), dict, anim, 8.0, -1, -1, flag, 1, false, false, false) //puts phone into pocket + TaskPlayAnim(GetPlayerPed(-1), dict, anim, 8.0, -1, -1, flag, 0, false, false, false) //puts phone into pocket await Delay(200) //waits until the phone is in the pocket StopAnimTask(GetPlayerPed(-1), dict, anim, 1.0) //clears the animation } @@ -106,7 +106,7 @@ async function phoneCloseAnim() { //Phone Close Animation StopAnimTask(GetPlayerPed(-1), dict, 'cellphone_text_in', 1.0) //Stop the pull out animation await Delay(100) //lets it get to a certain point loadAnimDict(dict) //loads the new animation - TaskPlayAnim(GetPlayerPed(-1), dict, anim, 8.0, -1, -1, flag, 1, false, false, false) //puts phone into pocket + TaskPlayAnim(GetPlayerPed(-1), dict, anim, 8.0, -1, -1, flag, 0, false, false, false) //puts phone into pocket await Delay(200) //waits until the phone is in the pocket StopAnimTask(GetPlayerPed(-1), dict, anim, 1.0) //clears the animation deletePhone() //Deletes the prop.