[Release] Enhanced emotes v2 (C#)

#28

Loaded into resources. FXServer -
Resource failed to load

0 Likes

#29

Idk what it could be, but i got absolutely no problem on a empty server.
Some infos that could help you out:

My server build: the actual latest aka this one
My server.cfg file:

endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

start mapmanager
start chat
start spawnmanager
start fivem
start fivem-map-skater
start hardcap
start rconlog
start emotes

sv_scriptHookAllowed 1

rcon_password yay

sv_hostname "uh"
0 Likes

#30

thank you man it works cause before i download the wrong folder which is ( inhanced-emotes ) and did not work i downloaded this emotes which did not work

the right folder and which work in my server from this link : https://github.com/Lulzboat-Mods/Enhanced-emotes/releases/tag/2.4.1
this working thank you :slight_smile:

0 Likes

#31

That’s why i’ve made releases so it is easy to use. C# doesn’t work the same way as Lua do

0 Likes

#32

A new version of the repository is out, thanks to @BlockBa5her.

Bug fixed:

  • Fixed an issue that causes weapons, vehicles and players to glitch because of the constant emote cancelation.
  • Fixed duplication of emotes on the menu

I have to tell you that you’ll have to compile it yourself as i don’t have either gta or fiveM installed as i’m writing this, so i couldn’t test if i generate a working build.

1 Like

#33

Here there, I complied it for you guys so that it is server ready!

Download: emotes.zip (9.0 KB)

Just go ahead and stick the emotes folder into your resources folder, and then add start emotes to the server.cfg

0 Likes

[Release] Emotes Script
#34

I’ve tried recompiling the source code to F5, unfortunately I had no luck.

0 Likes

#35

If you have VS2005 keybindings, F5 is used to compile and run. Unfortunately you are trying to run a dll. That won’t work. Try to press F6 (if you have said configuration) or right click on the solution -> generate. You will now have the dll in your bin folder.

0 Likes

#36

Can you tell me how you compiled this? I downloaded the file as well as installed visual studio but every time I build I get one fail about citizenfx and the base script not sure what I’m doing wrong I wanted to know how to build it properly so i may edit the key selection on my own.

0 Likes

#37

Have you added the references?

0 Likes

#38

no all i did was download this file and opened it with visual studio

0 Likes

#39

You need to add a reference to CitizenFX.Core.

0 Likes

#40

you mean going to my client side grabbing citizenfx.core putting it in the folder with the emote.cs and stuff, then opening it in visual studio and right clicking add reference if so i tried that.

0 Likes

#41

In the Emotes solution, navigate to References, right click it and select “Add Reference” and go to Browse. Browse and find CitizenFX.Core.dll.

0 Likes

#42

yes i did that but i still come back with this error

Severity	Code	Description	Project	File	Line	Suppression State
Error		The command "copy /y "C:\Users\webbc\Downloads\Enhanced-emotes-2.4.1\bin\Release\emotes.net.dll" "C:\Users\marceau\Desktop\Server\cfx-server\resources\emotes"" exited with code 1.	Emotes			

0 Likes

#43

You should modify the post build setting in the project solution settings

0 Likes

#44

sorry, i have no idea what you mean what file and what to do exactly this is my first time doing something like this. im a noob.

0 Likes

#45

That can be found on Google pretty easily.

Open Emotes solution. Double click Properties. Go to “Build Events.” Click “Edit Post-build” and remove the post build event. Save. Build.

0 Likes

#46

yes, i figured it out by just check each sections properties found where the line was and removed it completely. and it worked. Thank you both for helping me i have learned something new and am very grateful for it.

0 Likes

#47

Remove or modify it with the path that suits you, as you can build it and copy it on your server with the same bind

0 Likes