[FREE] rpemotes-reborn - A standalone emote system for FiveM

1.7.2

Fixes:

  • Code clean up by @Mathu-lmn
  • Removed all of the old maintainer’s contributions to rpemotes
  • Replaced all of the old maintainer’s contributions with new, equivalent props and objects
  • Fixed quality/positioning of some props
  • Removed sax2 (duplicate emote)
  • Minor clean-up of code formatting
  • Removed model from propsets
  • Added notes on ptfxwait
  • Removed unneeded comment in animationlist

Additions:

  • technodance, technodance2, technodance3, technodance4, capoeira, capoeira2, dancedrink9, boxing3, bball5
  • candle emote (no longer a prop with built in flame, but uses particle effects system)

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.

What version of rpemotes-reborn are you using?

Welcome to rpemotes-reborn! | Rpemotes-reborn documentation for rpemotes-reborn has been restored and updated for anyone who used to refer to the older docs of rpemotes.

Thank you @Mathu-lmn!

1 Like

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)

1 Like

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.

It’s not a FiveM keybind. It’s a Gta 5 keybind.

For emote adjustment