Blip::Blip: Difference between revisions

From RAGE Multiplayer Wiki
mNo edit summary
mNo edit summary
Line 26: Line 26:
});
});
</syntaxhighlight>  
</syntaxhighlight>  
==Example==
<syntaxhighlight lang="javascript">
// NEED TO BE DONE
</syntaxhighlight>


==See Also==
==See Also==
{{Blip_definition}}
{{Blip_definition}}

Revision as of 14:46, 28 December 2017

Function: Creates a blip.

Parameters

  • sprite: Int (Blip sprites)
  • name: String
  • scale: Float
  • color: Color ID (Blip colors)
  • alpha: Float [0.0:1.0]
  • drawDistance: Float
  • shortRange: Float
  • rotation: Vector3
  • position: Vector3

Syntax

mp.blips.new(sprite, position,
{
    name: name,
    scale: scale,
    color: color,
    alpha: alpha,
    drawDistance: drawDistance,
    shortRange: shortRange,
    rotation: rotation,
    dimension: dimension,
});

Example

// NEED TO BE DONE

See Also