Streaming::streamvolDelete

From RAGE Multiplayer Wiki
Revision as of 10:01, 23 April 2024 by Shr0x (talk | contribs) (Created page with "__NOTOC__ {{ClientsideJsFunction}} {{JSContainer| === Required Arguments === *'''streamvol''' {{RageType|Handle}} === Return Value === *'''void''' {{RageType|Void}} ==Syntax== <pre> mp.game.streaming.streamvolDelete(streamvol); </pre> ==Example== {{ClientsideCode| <syntaxhighlight lang="javascript"> const {x, y, z} = mp.players.local.position; const streamvol = mp.game.streaming.streamvolCreateSphere(x, y, z, 1, 1); mp.game.streaming.streamvolDelete(streamvol); //del...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax

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


See also