gta.removeWorldObject

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

void gta.removeWorldObject(string modelName, Vec3 position, float range)

The gta.removeWorldObject function is used to removes all world objects with specified model, within float range of specified position.

Parameters

1) string modelName The name of the object model.
2) Vec3 position The position of the object.
3) float range The range to remove objects, as a radius from the specified position.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

      getObjectCount
      getObjects
  gta.convertAllObjectsToDummyObjects
      gta.createObject
      gta.removeWorldObject
      gta.setVisibilityOfClosestObjectOfType
        registerNetObject

      object.affectedByGravity
  object.alpha
      object.boundingCentre
      object.boundingMax
      object.boundingMin
      object.boundingRadius
      object.centerOfMass
        object.children
        object.clearExistsFor
      object.collisionBoxCount
      object.collisionBoxes
      object.collisionLineCount
      object.collisionLines
      object.collisionPower
      object.collisionsEnabled
      object.collisionSphereCount
      object.collisionSpheres
      object.collisionVertexCount
      object.collisionVertices
        object.dimension
      object.distanceFromCentreOfMassToBaseOfModel
        object.existsFor
        object.getData
        object.getRotation
        object.heading
  object.health
        object.id
      object.interior
      object.inWater
        object.isCreatedFor
  object.island
        object.isLocal
      object.isOnScreen
        object.isOwner
        object.isSyncer
        object.isType
      object.markAsNoLongerNeeded
      object.mass
        object.matrix
      object.model
        object.modelIndex
        object.name
        object.netFlags
      object.onScreen
        object.parent
        object.position
        object.removeAllData
        object.removeData
        object.resource
        object.rotation
        object.setData
        object.setExistsFor
      object.setProofs
        object.setRotation
        object.setSyncer
      object.status
        object.streamInDistance
        object.streamOutDistance
        object.syncer
        object.syncerId
        object.turnVelocity
        object.type
        object.velocity
      object.visible