Chat message with multiple colors

TriggerEvent('chat:addMessage', {
        color = {255, 0, 0},
        multiline = true,
        args = {"You got a " ..weapon.. "."}
    })

How can I make the …weapon… parte be a different color? Thanks.

Here you go: Chat Formatting // Colors, Bold, Underline

Thanks. I’ve already seen that thread, but it doesn’t actually teach me how to do it. It gives me some codes, but doesn’t tell me where to put them, etc.

Ok. Than here:

args = {"You got a ^3 " …weapon… “.”}

1 Like

Thank you!

1 Like

Np. Tell me if it works

It did!

1 Like