Object::streamingRange

From RAGE Multiplayer Wiki

Client-Side
Function

 JavaScript



JavaScript Syntax

This property will set the object's streaming distance (range).

Required Params

  • distance: number

Return value

  • number

Syntax

object.streamingRange = distance;

Example

const object = mp.objects.new(mp.game.joaat("02gate3_l"), mp.players.local.position);
object.notifyStreaming = true;
object.streamingRange = 300;


See also