Advertisement
xK3LY

RDR3 - _UI_STICKY_FEED_CREATE_ERROR_MESSAGE

May 1st, 2021 (edited)
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const title = CreateVarString(10, "LITERAL_STRING", "TITLE");
  2. const msg = CreateVarString(10, "LITERAL_STRING", "MSG");
  3.  
  4. const struct1 = new DataView(new ArrayBuffer(32));
  5. const struct2 = new DataView(new ArrayBuffer(64));
  6. struct2.setBigInt64(8*1, BigInt(title), true);
  7. struct2.setBigInt64(8*2, BigInt(msg), true);
  8.  
  9. const msgId = Citizen.invokeNative("0x9F2CC2439A04E7BA", struct1, struct2, 1);
  10.  
  11. setTimeout(() => {
  12.     Citizen.invokeNative("0x00A15B94CBA4F76F", msgId);
  13. }, 8000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement