xK3LY

RDR3 - _UI_STICKY_FEED_CREATE_DEATH_FAIL_MESSAGE

May 1st, 2021 (edited)
724
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.    
  5. const struct1 = new DataView(new ArrayBuffer(32));
  6. struct1.setBigInt64(0 * 8, BigInt(audioRef), true);
  7. struct1.setBigInt64(1 * 8, BigInt(audioName), true);
  8. struct1.setInt16(2 * 8, 4, true);
  9.  
  10. const struct2 = new DataView(new ArrayBuffer(64));
  11. struct2.setBigInt64(1 * 8, BigInt(title), true);
  12.  
  13. const msgId = Citizen.invokeNative("0x815C4065AE6E6071", struct1, struct2, 1);
  14. setTimeout(() => {
  15.     Citizen.invokeNative("0x00A15B94CBA4F76F", msgId);
  16. }, 8000);
Add Comment
Please, Sign In to add comment