Lua:unregisterFormAddNotification

From Cheat Engine
Revision as of 00:11, 11 July 2025 by Leunsel (talk | contribs) (Created page with "Category:Lua '''function''' unregisterFormAddNotification(''Object'') Unregisters a previously registered form add notification. Use this to stop receiving notification...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

function unregisterFormAddNotification(Object)

Unregisters a previously registered form add notification. Use this to stop receiving notifications for forms added to Cheat Engine's form list.

Function Parameters[edit]

Parameter Type Description
Object Object The object returned by Lua:registerFormAddNotification that identifies the notification to remove.

Examples[edit]

-- Register and then unregister a notification
local notif = registerFormAddNotification(function(form)
  print("Form added: " .. (form.ClassName or "Unknown"))
end)

-- Later, stop receiving notifications
unregisterFormAddNotification(notif)

See also[edit]