entity.setProofs

From GTA Connected
(Redirected from Entity.setProofs)
Jump to navigation Jump to search

Method Client Only All Games Online and Offline

Client 1.0.0

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

Description

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

Parameters

Type Name Presence Default Value Description
bool bulletProof required n/a Whether the entity should be bullet proof.
bool fireProof required n/a Whether the entity should be fire proof.
bool explosionProof required n/a Whether the entity should be explosion proof.
bool collisionProof required n/a Whether the entity should be collision proof.
bool meleeProof required n/a Whether the entity should be melee proof.

Returns

Success Returns

Type Description
void This method doesn't return any values on success.

Failure Returns

Type Value
void n/a

Types

This method can be used on types: Building Civilian Entity Object Ped Physical Player 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

entity.alpha
entity.boundingCentre
entity.boundingMax
entity.boundingMin
entity.boundingRadius
entity.centerOfMass
entity.children
entity.collisionPower
entity.collisionsEnabled
entity.dimension
entity.distanceFromCentreOfMassToBaseOfModel
entity.getData
entity.getRotation
entity.heading
entity.id
entity.interior
entity.isLocal
entity.isOnScreen
entity.isSyncer
entity.isType
entity.markAsNoLongerNeeded
entity.mass
entity.matrix
entity.modelIndex
entity.name
entity.parent
entity.position
entity.removeAllData
entity.removeData
entity.setData
entity.setProofs
entity.setRotation
entity.status
entity.syncer
entity.type