Skip to main content

Streaming::streamvolDelete

Client-side function

JavaScript​

Required Arguments​

  • streamvol Handle

Return Value​

  • void Void

Syntax​

mp.game.streaming.streamvolDelete(streamvol);

Example​

Client-Side

const {x, y, z} = mp.players.local.position;
const streamvol = mp.game.streaming.streamvolCreateSphere(x, y, z, 1, 1);
mp.game.streaming.streamvolDelete(streamvol); //delete stream vol right after its created