northwood-studios/NwPluginAPI

Cancelling PlayerInteractDoor event breaks keycard denied bleep

ThijsNameIsTaken opened this issue · 1 comments

It's an intented behavior.

Cancelling PlayerInteractDoor doesn't mean that the access is denied. Let's say you want to make a plugin that delays opening of the door by 5 seconds. In that case you want to display access granted (with an extra message, eg. using Broadcast system), not access denied text.

Cancelling the event doesn't mean that the access is denied. It means that the game should not process the event further and your plugin handles it from now on.