πΎUse custom headtext
Using Custom files
First, find on configuration and check your framework in use:
(Can be any framework, just remember the name)
--- Current Supported options:
--- 'esx' ES Extended
--- 'qb' QB-Core
--- 'standalone' Standalone configuration
Config.Framework = "standalone"Next, check the configuration and search for and use the next settings:
-- For exmple: AlexBanPer #1 - Test Name #1
-- Only if are friends.
Config.FriendAPI_UseIdAfterHeadName = true
--- If Config.FriendAPI_UseIdAfterHeadName is true, then PlayerServerId will be used; otherwise, a custom player ID can be set.
--- This funcion includes 'Unknown' text if player is not friends.
Config.FriendAPI_UseCustomIdAfterHeadName = true
-- On friendship request display SteamName or 'getUserHeadName' function
Config.FriendAPI_UseUserHeadNameInsteadSteamNameOnFriendRequest = trueDepending on which framework we will use before, we will look in
Find functions:
So you can set up these functions for your custom IDs (for example, custom database ID, player ID, etc)
Last updated
Was this helpful?