Why does the action menu with the ‘shit’ action not respond when pressing G, and other actions that should have G key prompts also do not respond? How can I configure this key?
local function RunAnimationThread()
local playerId = PlayerPedId()
if AnimationThreadStatus then return end
AnimationThreadStatus = true
CreateThread(function()
local sleep
while AnimationThreadStatus and (IsInAnimation or PtfxPrompt) do
sleep = 500
if IsInAnimation then
sleep = 0
if IsPlayerAiming(playerId) then
EmoteCancel()
end
if not Config.AllowPunching then
DisableControlAction(2, 140, true)
DisableControlAction(2, 141, true)
DisableControlAction(2, 142, true)
end
end
if PtfxPrompt then
sleep = 0
if not PtfxNotif then
SimpleNotify(PtfxInfo)
PtfxNotif = true
end
if IsControlPressed(0, 47) then
PtfxStart()
Wait(PtfxWait)
if PtfxCanHold then
while IsControlPressed(0, 47) and IsInAnimation and AnimationThreadStatus do
Wait(5)
end
end
PtfxStop()
end
end
Wait(sleep)
end
end)
end
We should maybe make this rebindable, but it literally detects if G is being pressed.
Yeah, I also have this issue. However I feel like it has to be something related to the server itself, as trying out different menus that use the bind G, it still doesn’t work, but in test servers, it does.
Have you tried resetting your keybinds ? The key to press is not G, it’s the one you bind to the “Detonate” action in your settings (i.e by default it’s G but you can change it)
I can’t find the G key in the FIVEM key bindings. Could you please tell me if your action menu has any well-adapted action displacements, or is there a script called the emote adjustor? I’ve seen on other servers that after performing an action, there are options for displacement.
You shouldn’t be editing animationlist with addon emotes, that’s what AnimationListCustom is for.
As for what files to replace, you have to do that yourself, this is a free resource maintained by the community, so we don’t provide specific support for things like that.
No content updates with this one, but 3 important fixes for long standing issues related to saving of facial moods via KVP and vehicle detection with certain emotes.
Fixes:
Issue with menu not setting/reseting moods via KVP is fixed (Thanks @manason)