How to add players in chatMessage

TriggerEvent("chatMessage", "", {255, 0, 0}, "ID: Name of player"  )

I was wondering how I could make it so it would say For example: ID: Then the name of the person that did the command could someone please help me?

What… a command, normal chat message? Be more specific.

I want to make a command which gives the ID of the player and I just need to know how I would state the players name in a chat message

There is a native called something like GetPlayerNameFromId

Thank you I think i’ve got it to work :slight_smile: