SetWarningMessageWithAlert — FiveM Natives
0x15803FEC3B9A872B · HUD · all
instructionalKey enum list: `` Buttons = { Empty = 0, Select = 1, -- (RETURN) Ok = 2, -- (RETURN) Yes = 4, -- (RETURN) Back = 8, -- (ESC) Cancel = 16, -- (ESC) No = 32, -- (ESC) RetrySpace = 64, -- (SPACE) Restart = 128, -- (SPACE) Skip = 256, -- (SPACE) Quit = 512, -- (ESC) Adjust = 1024, -- (ARROWS) SpaceKey = 2048, -- (SPACE) Share = 4096, -- (SPACE) SignIn = 8192, -- (SPACE) Continue = 16384, -- (RETURN) AdjustLeftRight = 32768, -- (SCROLL L/R) AdjustUpDown = 65536, -- (SCROLL U/D) Overwrite = 131072, -- (SPACE) SocialClubSignup = 262144, -- (RETURN) Confirm = 524288, -- (RETURN) Queue = 1048576, -- (RETURN) RetryReturn = 2097152, -- (RETURN) BackEsc = 4194304, -- (ESC) SocialClub = 8388608, -- (RETURN) Spectate = 16777216, -- (SPACE) OkEsc = 33554432, -- (ESC) CancelTransfer = 67108864, -- (ESC) LoadingSpinner = 134217728, NoReturnToGTA = 268435456, -- (ESC) CancelEsc = 536870912, -- (ESC) } Alt = { Empty = 0, No = 1, -- (SPACE) Host = 2, -- (ESC) SearchForJob = 4, -- (RETURN) ReturnKey = 8, -- (TURN) Freemode = 16, -- (ESC) } `` Result of the example code: <https://i.imgur.com/TvmNF4k.png>
Parameters
| Name | Type | Description |
|---|---|---|
| labelTitle | char* | Label of the alert's title. |
| labelMsg | char* | Label of the alert's message. |
| p2 | int | This is an enum, check the description for a list. |
| p3 | int | This is an enum, check the description for a list. |
| labelMsg2 | char* | Label of another message line |
| p5 | BOOL | usually 0 |
| p6 |