A standalone FiveM script that allows players to show their IDs to nearby players within a configurable distance. The script includes features such as:
- Displaying player IDs
- Configurable ID formats (Steam, License, or Name)
- Draw distance and visibility settings
- IDs are hidden through walls.
- Option to display IDs in different formats (
steam,license, orname). - Configurable key and chat command to toggle the ID display.
- This is a standalone script; the only requirement is a running FiveM server.
- Download the latest version of the script from the GitHub Releases.
- Extract the contents into your FiveM resources folder.
Add the following line to your server.cfg to ensure the script starts with your server:
ensure mrd_showidOpen the config.lua file to adjust the script to your preferences:
- Keybinding: Change the key used to display the ID by modifying the
mrd_showid.keyvalue. Default is323(X). - Display Method: Select how the ID is displayed by setting
mrd_showid.whichto either"steam","license", or"name". - Chat Command: The chat command used to show IDs can be customized by changing
mrd_showid.commandName. Default is/id. - Draw Distance: Adjust how far players can see IDs by changing the
mrd_showid.drawDistance. Default is15meters.
Example config:
mrd_showid.key = 323 -- The keybind for showing players their IDs
mrd_showid.which = "" -- Keep empty for player ID. Optional settings: "steam", "steamv2", "license", "licensev2", "name"
mrd_showid.commandName = "id" -- The chat command to show IDs of players for a few seconds
mrd_showid.drawDistance = 15 -- The maximum distance between the players-
Toggling ID Display: Players can temporarily enable the ID display for 5 seconds by using the
/idchat command or by pressing the configured key (Xby default). -
ID Display: Once the ID display is enabled, the script automatically shows the IDs of nearby players who are within the configured distance and have a clear line of sight. This means you need to enable the display via the command or key to see the IDs.
If you wish to contribute to this project, feel free to fork the repository and submit a pull request with your improvements!
This project is licensed under the MIT License. See the LICENSE file for more information.