2025-07-17 21:14:50 -05:00

25 lines
535 B
Markdown

---
weight: 100
title: "MV_CRASH"
description: "Crashes the VM"
icon: "code_blocks"
date: "2025-05-01T18:47:58-05:00"
lastmod: "2025-05-01T18:47:58-05:00"
---
`declare function MV_CRASH(void): void`
crashes the VM and corrupts the state.
{{% alert context="info" text="**Note**: `LPH_CRASH` is an available alias" /%}}
## Valid Usage
```lua
MV_VM(function() MV_CRASH() end)()
MV_VM(function()
local a = MV_CRASH()
end)()
```
{{% alert context="warning" text="**Note**: This macro can only be used in virtualized blocks." /%}}