held radio emote

文章正文
发布时间:2025-11-25 21:26

Hi, you can also try just replace animations

Line: 197-200

if shouldPlayAnimation then RequestAnimDict('random@arrests') end

with:

if shouldPlayAnimation then RequestAnimDict('anim@male@holding_radio') end

Line: 209 -215

if shouldPlayAnimation and HasAnimDictLoaded("random@arrests") then if not IsEntityPlayingAnim(PlayerPedId(), "random@arrests", "generic_radio_enter", 3) then TaskPlayAnim(PlayerPedId(), "random@arrests", "generic_radio_enter", 8.0, 2.0, -1, 50, 2.0, false, false, false) end end

With

if shouldPlayAnimation and HasAnimDictLoaded("anim@male@holding_radio") then if not IsEntityPlayingAnim(PlayerPedId(), "anim@male@holding_radio", "holding_radio_clip", 3) then TaskPlayAnim(PlayerPedId(), "anim@male@holding_radio", "holding_radio_clip", 8.0, 2.0, -1, 50, 2.0, false, false, false) radioProp = CreateObject(`prop_cs_hand_radio`, 1.0, 1.0, 1.0, 1, 1, 0) AttachEntityToEntity(radioProp, PlayerPedId(), GetPedBoneIndex(PlayerPedId(), 28422), 0.0750, 0.0230, -0.0230, -90.0000, 0.0, -59.9999, 1, 0, 0, 0, 2, 1) end end

Line 229-231

if shouldPlayAnimation then RemoveAnimDict('random@arrests') end

with

if shouldPlayAnimation then RemoveAnimDict('anim@male@holding_radio') end

and line 245-247

if GetConvarInt('voice_enableRadioAnim', 1) == 1 then StopAnimTask(PlayerPedId(), "random@arrests", "generic_radio_enter", -4.0) end

with

if GetConvarInt('voice_enableRadioAnim', 1) == 1 then StopAnimTask(PlayerPedId(), "anim@male@holding_radio", "holding_radio_clip", -4.0) DeleteObject(radioProp) end