[Release][ES] Emotes


#1

Hi guys. Since im building a RP server, I needed a emotes script that cancels on movement. Since i could not find one,I wrote one in a few minutes. I thought it would be nice to share it and give something back to this community.

Commands

/emotes - lists emotes
/emote sit - would sit…

Feel free to modify, you can add or remove emotes you want/dont want from client.lua, should be pretty straight forward :grin:

Just drop it in your resources folder and add - rpemotes under AutoStartResources in your citmp-server.yml

Cheers :slight_smile:

Github
Download as rar archive


#3

Why the hell does this require ‘essentialmode’?

It only uses commands, which can be done easily using built-in events as well


#4


#5

Because I use essential base and have the hook for it, if you don’t want it, remove it :slight_smile:


#8

I can confirm the same errors in the console.


#10

not working for me either i have essential mode also


#11

What is the error? Or the nil value?


#12

Hello,

local Keys = { ["W"] = 32, ["A"] = 34, ["S"] = 8, ["D"] = 9 }

This is not the way you should handle keys, take a look at https://wiki.fivem.net/wiki/Controls

Cheers


#13

@xander1998 I posted the error in a previous post. Client Lua 2:1 can’t call nil value.


#14

When i get home ill download and see if i can fix the nil value.


#15

Appreciate it. I tried a few things and got the same error. There’s a nice amount of emotes here, more so than other releases.


#16

It is. Its just an alias, nothing wrong with it nor does it affect any performance. Its there to make it easy for someone to read and understand it.

But, if you cant spare a few bytes of memory, then feel free to modify it :slight_smile:


#17

I will have a look later tonight if i get that error, and if i do, il fix it.

Cheers!


#19

Any word on this “can’t call a nil value” error?


#20

Same error, same problem.

Anybody fixed it?


#21

The Same error, did anyone find a fix?


#22

Any fix, really want this.


#23

yeah does not work at all, wished it would :frowning:


#24

get the pointing script and if your in a animation and need to quit the aniation fast point till the animation stops it might work for you emote script but its a idea


#25

Does someone have a version of this that doesn’t require essential mode?