xK3LY

RDR3 - _UI_STICKY_FEED_CREATE_WARNING_MESSAGE

Apr 28th, 2021 (edited)
642
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const audioRef = CreateVarString(10, "LITERAL_STRING", "HUD_PENALTY_SOUNDSET");
  2. const audioName = CreateVarString(10, "LITERAL_STRING", "HUD_FAIL");
  3. const title = CreateVarString(10, "LITERAL_STRING", "TITLE");
  4. const msg = CreateVarString(10, "LITERAL_STRING", "MSG");
  5.  
  6. const struct1 = new DataView(new ArrayBuffer(32));
  7. struct1.setBigInt64(0 * 8, BigInt(audioRef), true);
  8. struct1.setBigInt64(1 * 8, BigInt(audioName), true);
  9. struct1.setInt16(2 * 8, 4, true);
  10.  
  11. const struct2 = new DataView(new ArrayBuffer(64));
  12. struct2.setBigInt64(2 * 8, BigInt(title), true);
  13. struct2.setBigInt64(3 * 8, BigInt(msg), true);
  14.  
  15. const msgId = Citizen.invokeNative("0x339E16B41780FC35", struct1, struct2, 1);
  16.  
  17. setTimeout(() => {
  18.     Citizen.invokeNative("0x00A15B94CBA4F76F", msgId);
  19. }, 8000);
Advertisement
Add Comment
Please, Sign In to add comment