[Example Resource][ES] Team System & Chat Roles

Does this script still function? Been having some issues with line 63. I don’t believe this is compatible with the new version of Essential Mode. @WolfKnight179

Can’t change teams on latest essentials!

1 Like

Hey @WolfKnight179, are you planning on updating this script?

wish this would work with ES5 :frowning:

hi,
how would i change LSPD to an british name like Area

lspd     = { id = 2, name = "Area",       cmd = "lspd",   colour = { 50, 50, 255 } },

?

This gonna be updated or not planning to??

Those wanting a fix for FX chat look here, not sure why this wasn’t updated because it is the most simplistic thing that anybody could update, I’m not kidding.
In server.lua change this:

TriggerEvent( 'es:addCommand', 'team', function( source, args, user ) 
	local team = args[2]

to this:

TriggerEvent( 'es:addCommand', 'team', function( source, args, user ) 
	local team = args[1]

Yeah. That is it.

1 Like

hey I have a question, so when i install the resource, i type something in chat and it double chats.

Example:
Name: hi
roleName: hi

Conflicting resource. Maybe FXRoles?

no i don’t have any conflicting resources. Do you think chatbasic is the problem?

Most likely. You have chat and chatbasic?

yes i have customized the default chat that fivem server come with and chatbasic is like a /me, /do, /ooc

Ok, try stopping chatbasic and see if the problem still persists.

chatbasic is not even started so yeah…

have you got a solution for this?

Mine is also “double sending” any way to fix this?

Conflicting resource. No idea which resource.

do you know why the chat is “double sending”

Hello, Do you know it is double sending? Example:

Found out why, mine was “double sending” because i had a “hide cmds” script in my server, upon taking that out, Server worked fine.