How do I add "/" Commands such as /help /rules /commands? (i'm very new to this)

I already have essentialmode installed

It’s in ressources/Es_roleplay

Something like this:

TriggerEvent('es:addCommand', 'help', function(source, args, user)
  TriggerClientEvent("chatMessage", source, "^3SYSTEM", {255, 255, 255}, "Insert your text here ")

And if you want to add more lines, simply copy the TriggerClientEvent line and paste it right under the first one (you can keep doing that as many times as you want).

Where do I put that?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.