CreateBlip
Creates a blip either tied to an entity or static with range as an option and dimension. You can also use a sprite for the blip.
{{#tag:syntaxhighlight|Blip Blip.CreateBlip(Vector3 position, float range [, uint dimension = GlobalDimension ]);|lang=csharp}} {{#tag:syntaxhighlight|Blip Blip.CreateBlip(Vector3 position [, uint dimension = GlobalDimension ]);|lang=csharp}} {{#tag:syntaxhighlight|Blip Blip.CreateBlip(NetHandle entity);|lang=csharp}}
- sprite: parameter input should be in int or uint type
- position: parameter input should be in Vector3 type
- range: parameter input should be in float type
- color: parameter input should be in byte type
- name: parameter input should be in string type
- alpha: parameter input should be in byte type
- drawDistance: parameter input should be in float type
- rotation: parameter input should be in short type
- dimension: parameter input should be in uint type
- entity: parameter input should be in NetHandle type
{{#tag:syntaxhighlight|Blip myBlip = Blip.CreateBlip(new Vector3());|lang=csharp}} {{#tag:syntaxhighlight|Blip myBlip = Blip.CreateBlip(new Vector3(), 10.0f);|lang=csharp}} {{#tag:syntaxhighlight| Client player = Pools.GetAllPlayers()[0]; Blip myBlip = Blip.CreateBlip(player.Vehicle);|lang=csharp }} }}