getLicense

ps.getLicense(source)

Returns the GTA license identifier for the given source.

Parameters:

  • source (number): Player server ID

Returns:

  • string|nil: License identifier or nil if not found

Example:

local license = ps.getLicense(source)
print("Player license:", license)

Last updated