[HELP] Font Awsome Command

Whats up! So i’ve been trying to figure out how to make a Font Awsome command with a Box Around

This is an example
Sk%C3%A4rmklipp
But for announcment

Current Code

Server.lua

Client.lua

Thanks for the help!!!

No, you’re using chatMessage instead of chat:addMessage. Why are you also using the client for this? It’s not necessary.

Just use something like this:

RegisterCommand("announce", function(source, args)
   TriggerClientEvent("chat:addMessage", -1, {
      template = '<div style="padding: 0.5vw; background-color: rgba(28, 160, 242, 0.6); border-radius: 3px;"><i class="fab fa-twitter"></i> @{0}:<br> {1}</div>',
      args = { table.concat(args, " ") }
   })
end, false)
1 Like

@zee Thanks but

But I cant get the Font Awsome logo to work