Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const audioRef = CreateVarString(10, "LITERAL_STRING", "HUD_PENALTY_SOUNDSET");
- const audioName = CreateVarString(10, "LITERAL_STRING", "HUD_FAIL");
- const title = CreateVarString(10, "LITERAL_STRING", "TITLE");
- const msg = CreateVarString(10, "LITERAL_STRING", "MSG");
- const struct1 = new DataView(new ArrayBuffer(32));
- struct1.setBigInt64(0 * 8, BigInt(audioRef), true);
- struct1.setBigInt64(1 * 8, BigInt(audioName), true);
- struct1.setInt16(2 * 8, 4, true);
- const struct2 = new DataView(new ArrayBuffer(64));
- struct2.setBigInt64(2 * 8, BigInt(title), true);
- struct2.setBigInt64(3 * 8, BigInt(msg), true);
- const msgId = Citizen.invokeNative("0x339E16B41780FC35", struct1, struct2, 1);
- setTimeout(() => {
- Citizen.invokeNative("0x00A15B94CBA4F76F", msgId);
- }, 8000);
Advertisement
Add Comment
Please, Sign In to add comment