Blip.Remove

From Liberty Unleashed Wiki
Revision as of 00:10, 29 September 2010 by Juppi (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This Blip class method removes the blip.

Syntax

  1. bool Blip.Remove()

Arguments

  • none

Example

This example command removes the given blip when someone types '/blip <id>'.

  1.  
  2. function onPlayerCommand( pPlayer, szCommand, szText )
  3. {
  4. if ( szCommand == "removeblip" )
  5. {
  6. local pBlip = FindBlip( text ? text.tointeger() : 0 );
  7. if ( pBlip ) pBlip.Remove();
  8. }
  9. return 1;
  10. }
  11.  

Notes

The function FindBlip and call onPlayerCommand were used in this example. More info about them in the corresponding pages.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox