Get player ID function

function getPlayerID()
    -- Here's your implementation of getting player ID. By default it will return player server ID.
    return GetPlayerServerId(PlayerId())
end

This function, found in client/framework.lua, is a 'getter' for the player ID. By default, it returns the player's server ID. If you have a unique ID system, you can implement it here to display the correct ID based on your custom system.

Last updated