Blip::setRoute
Enable / disable showing route for the Blip-object.
Syntax
blip.setRoute(enabled);
Required Arguments
- enabled: Boolean
Return value
- Undefined
Example
Client-Side
var policeStation = mp.blips.new(526, new mp.Vector3(433.25567626953125,-981.8964233398438, 30.710012435913086),
{
color: 5,
shortRange: false,
dimension: mp.players.local.dimension
});
policeStation.setRoute(true) // SetRoute for police station