SetWarningMessageWithHeaderExtended — FiveM Natives
0x38B55259C2E078ED · HUD · all
Sets a warning message for one frame with header and upper buttons bit field that don't fit the standard 32 bit set.
Parameters
| Name | Type | Description |
|---|---|---|
| headerTextLabel | char* | Text label to set on the header/title. |
| line1TextLabel | char* | Text label to set on the first line of the body.. |
| buttonsBitField | int | Bit field of the button flags. See [`SET_WARNING_MESSAGE`](#\_0x7B1776B3B53F8D74). |
| buttonsBitFieldUpper | int | Bit field of the upper button flags. See [`SET_WARNING_MESSAGE_WITH_HEADER_AND_SUBSTRING_FLAGS_EXTENDED`](#\_0x15803FEC3B9A872B). |
| line2TextLabel | char* | Text label to set on the second line of the body. |
| addNumber | BOOL | If number should be inserted into `~1~` in the body. |
| numberToAdd | int | What number to insert into `~1~` in the body. |
| firstSubstring | char* | First substring text label to insert into `~a~` in the body. |
| secondSubstring | char* | Second substring text label to insert into `~a~` in the body. |
| showBackground | BOOL | Bool indicating if the message should have a black background. |
| errorCode | int | Error number to show at the bottom of the message. `0` is the default. |