PoliceRaidDoor
Usage
Returns
boolean- Returnstrueif the raid process has been successfully triggered on a valid MLO door, orfalseif no valid target was found or the action could not be started.
Usage Example
example.lua
Description
This export is used to trigger a forced police raid on an MLO property door handled by nolag_properties.
It should be called when a player uses a stormram item (for example, inside your inventory usable item callback). Once executed, the system will:
- 1
- 2
- 3
If all conditions are met, the door breaching process will begin. If the player is not targeting a valid MLO door, the export will return false and no action will be triggered.