Wiki
Clone wikiEFLC-Multiplayer / apiBlips methods
apiBlips
Create
Returns int: Blip ID
Params:
-
apiMath::Vector3 pos
-
int type (http://public.sannybuilder.com/GTA4/blips/)
-
unsigned int color (RGBA), (If color is 1 then the blip will have GTA default colors)
-
unsigned int world (Virtual World)
-
unsigned int streamDistance (Distance 1: GTA will decide when to show this blip on the minimap)
-
bool showAll (true - blip will show to everyone)
#!c++ //Spawns a BLUE Playboy X blip at the center of the map int blip = apiBlips::add(apiMath::Vector3(), 44, 0x0000FFFF, 1, 2000, true);
Delete
This function throws std out_of_range if the blip is invalid
Params:
*int - blip ID
Set Blip Name
This functions changes the blip subtitle
Params:
*int - blip ID
const char - blip name
#!c++ apiBlips::setName(1, "ABCDE");
Updated