SetBlipName: Difference between revisions
(Created page with "Sets the name of a blip. A blip's name is a title which can be viewed through the game map. ==Syntax== <pre>void NAPI.Blip.SetBlipName(Blip blip, string name);</pre> === Req...") |
m (Xabi moved page NAPI.Blip.SetBlipName to SetBlipName) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 9: | Line 9: | ||
==Example== | ==Example== | ||
{{CSharpContainer| | {{CSharpContainer| | ||
{{Example}} | {{Example}} | ||
Latest revision as of 12:43, 27 November 2019
Sets the name of a blip. A blip's name is a title which can be viewed through the game map.
Syntax
void NAPI.Blip.SetBlipName(Blip blip, string name);
Required Arguments
- blip: The blip to set the name. This parameter input should be in Blip type.
- name: The name to use on that blip. This parameter input should be in string type.
Example
C# Syntax
Example
var blips = NAPI.Pools.GetAllBlips();
for (int i = 0; i < blips.Count; i++)
if (string.IsNullOrEmpty(NAPI.Blip.GetBlipName(b)))
NAPI.Blip.SetBlipName(b, "Blip No." + i);