Skip to content

function setPlayerStreamRadius (server-side)

Available since version: 0.3.7.3

Note

This value gets reset back to default stream range from config when player joins the server, you need to set it again in onPlayerJoin event.

This function is used to set player stream radius.

Declaration

void setPlayerStreamRadius(int id, int radius)

Parameters

  • int id: the player id.
  • int radius: the stream radius for the player, that will be clamped to range <0, 15000>.