Commit Graph
2 Commits
Author SHA1 Message Date
Linden 621c11f22b refactor(callbacks): don't error when attempting to override an event
Throwing an error here will break some scripts, and
rather than fix their misuse many creators suggest downgrading ox_lib instead. Was technically breaking
anyway, even if kind of necessary.
2025-03-16 03:50:32 +11:00
Linden b726faea2d feat(callback): implement callback validation
Prevent callbacks from being overwritten by other resources.
Throw an immediate error if the callback does not exist.
2025-02-03 15:41:58 +11:00