From 3e058d8e1abd1d62476ae6d2aecb01bcb9ba8e47 Mon Sep 17 00:00:00 2001 From: "Leon.Schmidt" Date: Sat, 15 Aug 2026 22:18:10 +0200 Subject: [PATCH] FIX - use a stable camera hold pose Replace the selfie dance dictionary with the looping phone camera pose. Apply the same hold animation to rear and selfie modes while preserving vehicle-specific phone animations. --- sky_phone/config/config.lua | 4 ++-- sky_phone/source/client/animations.lua | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/sky_phone/config/config.lua b/sky_phone/config/config.lua index 02f1780..5a38c3e 100644 --- a/sky_phone/config/config.lua +++ b/sky_phone/config/config.lua @@ -161,7 +161,7 @@ Config.Animations = { OnFoot = "cellphone@", Driver = "anim@cellphone@in_car@ds", Passenger = "anim@cellphone@in_car@ps", - Selfie = "anim@mp_player_intuppertake_selfie", + Camera = "cellphone@self", }, Clips = { TextIn = "cellphone_text_in", @@ -171,7 +171,7 @@ Config.Animations = { CallListen = "cellphone_call_listen_base", CallToText = "cellphone_call_to_text", CallOut = "cellphone_call_out", - Selfie = "idle_a", + Camera = "selfie", }, Transforms = { Portrait = { diff --git a/sky_phone/source/client/animations.lua b/sky_phone/source/client/animations.lua index b0318ae..911b29c 100644 --- a/sky_phone/source/client/animations.lua +++ b/sky_phone/source/client/animations.lua @@ -245,8 +245,11 @@ local function get_base_animation(ped, mode) if mode == MODE_CALL then return dictionary, Config.Animations.Clips.CallListen end - if mode == MODE_CAMERA_SELFIE and not IsPedInAnyVehicle(ped, false) then - return Config.Animations.Dictionaries.Selfie, Config.Animations.Clips.Selfie + if + (mode == MODE_CAMERA_REAR or mode == MODE_CAMERA_SELFIE) + and not IsPedInAnyVehicle(ped, false) + then + return Config.Animations.Dictionaries.Camera, Config.Animations.Clips.Camera end return dictionary, Config.Animations.Clips.TextRead end