Server Exports
The resource provides a server export that allows other scripts to retrieve a player's identity trail.
GetPlayerTrail
Parameters
Parameter
Type
Description
Returns
Type
Description
Example Usage
local trail = exports['pinkFrog_identity']:GetPlayerTrail(source)
print(trail)Example Command
RegisterCommand('testIdentity', function(source, args, raw)
if source == 0 then
print('[gett trail] This command can only be used by a player in-game.')
return
end
local trail = exports['pinkFrog_identity']:GetPlayerTrail(source)
print(('[gett trail] source=%s, trail=%s'):format(source, tostring(trail)))
end)How It Works
Example Output
Example Use Cases
Use Case
Description
Last updated