HUD
SET_WARNING_MESSAGE_WITH_HEADER_AND_SUBSTRING_FLAGS
0x701919482C74B5AB
Jenkins: 0x749929D3
Signature
// HUD
void SET_WARNING_MESSAGE_WITH_HEADER_AND_SUBSTRING_FLAGS(const char* entryHeader, const char* entryLine1, int instructionalKey, const char* entryLine2, BOOL p4, Any p5, Any additionalIntInfo, const char* additionalTextInfoLine1, const char* additionalTextInfoLine2, BOOL showBackground, int errorCode)
Parameters
| Type | Name |
|---|---|
| const char* | entryHeader |
| const char* | entryLine1 |
| int | instructionalKey |
| const char* | entryLine2 |
| BOOL | p4 |
| Any | p5 |
| Any | additionalIntInfo |
| const char* | additionalTextInfoLine1 |
| const char* | additionalTextInfoLine2 |
| BOOL | showBackground |
| int | errorCode |
Return type void
Build 323
Former names
- _SET_WARNING_MESSAGE_3
Documentation
You can use this native for custom input, without having to use any scaleform-related natives. The native must be called on tick. The entryHeader must be a valid label. For Single lines use JL_INVITE_N as entryLine1, JL_INVITE_ND for multiple. Notes: - additionalIntInfo: replaces first occurrence of ~1~ in provided label with an integer - additionalTextInfoLine1: replaces first occurrence of ~a~ in provided label, with your custom text - additionalTextInfoLine2: replaces second occurrence of ~a~ in provided label, with your custom text - showBackground: shows black background of the warning screen - errorCode: shows an error code at the bottom left if nonzero Example of usage: SET_WARNING_MESSAGE_WITH_HEADER_AND_SUBSTRING_FLAGS("ALERT", "JL_INVITE_ND", 66, "", true, -1, -1, "Testing line 1", "Testing line 2", true, 0); Screenshot: https://imgur.com/a/IYA7vJ8
APPI RP
Join us on FiveM
Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.