dpEmotes 1.7 (390+ emotes) Walkingstyles, Keybinding, Dances, Expressions and Shared Emotes

Three years later this is STILL the go to resource for emotes. Always appreciate your work @Dullpear !

2 Likes

(Removed due to advertising)

1 Like

Hi all.

First of all I will start by saying that I am new to lua scripting, so bear with me. I have a dumb question.

We are calling a sandwich emote from a different script when we are eating by using this command:

exports[ā€˜animsā€™]:PlayEmote(ā€˜sandwichā€™)

What I am not sure about is, when I am done with my eating, how do I stop the animation from the other script? I canā€™t seem to find a way.

I actually figured this out already, so you can ignore my previous question. I do have one question though.

How can I make it so that if I call the animation from another script that it ignores the enable/disable movement option in the UI, and always allow movement when the animation is called from the other script?

@Milkman00 youā€™re best to create a new discussion so people can answer your questions

Hello! We have an issue where players exploit the keybind options, is there a way to remove the ability to keybind emotes even through f8?

Hey, can you make more gang signs and hands in pockets emotes? Overall more street gang emotes, such as carrying maybe a gun or showing it off, showing off a very small brick of weedā€¦ that kind of stuffā€¦ thank you

Already done

do you by chance provide support for this? if so any time I change anything at all in the config I get errors saying ā€œAttempt to index a nil valueā€ I have not changed anything with the script itself just the config. If you would like pictures, tell me and I can message them to you.

1 Like

You might have done something wrong inside the config, what are you trying to do exactly?

This is my config, all I did was change a few things
config.lua (23.7 KB)

Iā€™m in bed with Covid unfortunately so feel free to post photos and explain what you tried to change and the exact error you get.

Itā€™s probably something to do with formatting.

oh Iā€™m super sorry to hear that, so just to make it simple, I deleted every trace of dpemotes entirely, added it back, and simply changed the button from ā€˜F5ā€™ to ā€˜F3ā€™ just deleting the 5 and adding 3, I get this exact error wihout the quotes: ā€œattempt to index a nil value (global ā€˜Configā€™)ā€ thereā€™s nothing more in the console other than it saying it couldnā€™t load the config.lua

:thinking: Delete your server cache, shut down the server, make sure you havenā€™t changed anything else. Can you try a different key and see if that works? Try F9 for example.

Alternatively, you can set the menu key (for yourself) in the ā€˜pause menuā€™ however other plays will still be F5 or F9.

Iā€™ll have @AvaN0x elaborate on this and try to assist when heā€™s not munching down on BBQ Fried Frog Legs, snails and pasta :laughing::fr:

lol all good, I really appreciate the help, sorry for bothering you, and hope you start feeling better soon!

1 Like

Youā€™re not a bothersome :smiley:

Try using the key code thing maybe?

https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard/

well I appreciate it, ok Iā€™ll try that, Iā€™m currently clearing my serverā€™s cache, once again thank you!

1 Like

I think you have an error in your Config file, do you get any error while starting the script ? (Try to restart it and see if there are any errors)

Yeah when I restart it, it says ā€œattempt to index a nil value (global ā€˜Configā€™)ā€ and failed to load config.lua, however it does say it started the script, but still doesnā€™t work, idk if that is important or not.

Oh, you are alive! only took 10 hrs to get a reply xD