Blip.ID
From Liberty Unleashed Wiki
This Blip class member returns the ID of the blip.
Syntax
int Blip.ID
Arguments
- none
Example
THis example command creates a new radar blip and prints its ID for the player.
function onPlayerCommand( pPlayer, szCommand, szText ) { if ( szCommand == "createblip" ) { local pBlip = CreateBlip( BLIP_8BALL, pPlayer.Pos, 0 ); if ( pBlip ) MessagePlayer( "Created Blip ID " + pBlip.ID, pPlayer ); } return 1; }
Notes
The functions MessagePlayer, Player.Pos and event onPlayerCommand were used in in this example. More info about them in the corresponding pages.