2025-07-04 01:10:14 +02:00
|
|
|
# GuiScriptError
|
|
|
|
|
|
2025-08-26 17:52:06 +08:00
|
|
|
Pop up a message box to alert the user about script error.
|
2025-07-04 01:10:14 +02:00
|
|
|
|
|
|
|
|
```c++
|
2025-08-26 17:52:06 +08:00
|
|
|
void GuiScriptError(int line, const char* message);
|
2025-07-04 01:10:14 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
2025-08-26 17:52:06 +08:00
|
|
|
`line` Line number where the script error occurred.
|
|
|
|
|
|
|
|
|
|
`message` The error message.
|
2025-07-04 01:10:14 +02:00
|
|
|
|
|
|
|
|
## Return Value
|
|
|
|
|
|
2025-08-26 17:52:06 +08:00
|
|
|
This function does not return a value.
|
2025-07-04 01:10:14 +02:00
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
|
|
```c++
|
|
|
|
|
Example code.
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Related functions
|
|
|
|
|
|
|
|
|
|
- List of related functions
|