HUDClientBlocked

setWarningMessageWithHeaderExtended

SET_WARNING_MESSAGE_WITH_HEADER_EXTENDED0x38B55259C2E078ED

The GTA V native SET_WARNING_MESSAGE_WITH_HEADER_EXTENDED of the HUD namespace, as LS:MP client scripts call it: the global function setWarningMessageWithHeaderExtended, in JavaScript and in Lua.

SignatureJavaScript
setWarningMessageWithHeaderExtended(
  entryHeader: string,
  entryLine1: string,
  flags: number,
  entryLine2: string,
  p4: boolean,
  p5: any,
  p6: null,
  p7: null,
  showBg: boolean,
  p9: any,
  p10: any
): void
SignatureLua
setWarningMessageWithHeaderExtended(
  entryHeader: string,
  entryLine1: string,
  flags: integer,
  entryLine2: string,
  p4: boolean,
  p5: any,
  p6: nil,
  p7: nil,
  showBg: boolean,
  p9: any,
  p10: any
)
✕
Blocked for scripts: Raw memory and structures

This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use lsmp.getGamePool. For JSON, use lsmp.json.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
HUD HUD
In the game
void SET_WARNING_MESSAGE_WITH_HEADER_EXTENDED(const char* entryHeader, const char* entryLine1, int flags, const char* entryLine2, BOOL p4, Any p5, Any* p6, Any* p7, BOOL showBg, Any p9, Any p10)
Hash
0x38B55259C2E078ED
Introduced
Game build 1493 legacy numbering
Formerly
_SET_WARNING_MESSAGE_WITH_HEADER_UNK

Open in the interactive natives reference