Skip to content

world.setPlayerMarkerRadarScale

Changes the size of the players’ blips on everyone’s radar, the game’s own blip scale. It changes only the size, not the range or the color.

Renamed in 0.28 from world.setMarkerSize; see renamed names.

world.setPlayerMarkerRadarScale(radarScale: number): Promise<ActionResult>
Name Type Description
radarScale number A whole number from 1 (the game’s default) to 16.

A promise of an ActionResult: applied (also when it already was this), or rejected with invalid-size for anything else.

gamemodes/my-mode.ts
import { server, world } from "nativemp";
const result = await world.setPlayerMarkerRadarScale(2);
if (result.status === "rejected") server.log(`Could not resize player markers: ${result.code}`);