Kartik Scripts

Delete Fake Profile

Deletes a fake/undercover profile from the registry database.

Export Syntax

exports['kartik-mdt']:DeleteFakeProfile(citizenId)

Parameters

ParameterTypeRequiredDescription
citizenIdstringYesThe citizen's unique State ID/Citizen ID

Return Value

  • Returns boolean: true if the profile was successfully deleted, false otherwise.

Example Usage

local citizenId = "UC9988"
local success = exports['kartik-mdt']:DeleteFakeProfile(citizenId)

if success then
    print("Undercover identity has been purged from database.")
else
    print("Failed to delete undercover identity.")
end

On this page