PoliceRaidDoor
lua
Call this when a player uses your raid item, for example a stormram. It targets the closest property door (MLO door) or furniture door the player can see.
The server checks that the player has the police raid permission (Config.PoliceRaid). The anti-burglary upgrade can also block the breach.
Calls less than 500 ms apart are ignored.
Return Value
booleantrueif a raid request was sent for a door.falseif no door is close, the anti-burglary upgrade blocks it, or the call was too soon after the last one.
Usable item