entity.setProofs

Revision as of 19:38, 28 September 2019 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Available since Client 1.0.0

void entity.setProofs(bool bulletProof, bool fireProof, bool explosionProof, bool collisionProof, bool meleeProof)

The entity.setProofs method is used to set immunities for an entity.

Parameters

1) bool bulletProof Whether the entity should be bullet proof.
2) bool fireProof Whether the entity should be fire proof.
3) bool explosionProof Whether the entity should be explosion proof.
4) bool collisionProof Whether the entity should be collision proof.
5) bool meleeProof Whether the entity should be melee proof.

Return

void This method doesn't return a value.

Types

Shared Building
Shared Entity
Shared Object
Shared Ped
Shared Physical
Shared Player
Shared Vehicle

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.

Related

Client Related

      gta.undoEntityInvisibilitySettings

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