Streaming::streamvolHasLoaded
JavaScript
Returns true if the stream volume has loaded, false if not
Required Arguments
- streamvol Handle
Return Value
- boolean Boolean
Syntax
mp.game.streaming.streamvolHasLoaded(streamvol);
Example
Client-Side
const {x, y, z} = mp.players.local.position;
const streamvol = mp.game.streaming.streamvolCreateSphere(x, y, z, 1, 1);
if (mp.game.streaming.streamvolHasLoaded(streamvol)) {
mp.gui.chat.push("stream vol has loaded!");
}