element.isType

From GTA Connected
(Redirected from Element.isType)
Jump to navigation Jump to search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

bool element.isType(int elementType)

Description

The element.isType method is used to gets whether or not the element is a specified element type.

Parameters

Type Name Presence Default Value Description
int elementType required n/a The element type to check for.

Returns

Success Returns

Type Description
bool A bool indicating whether or not the element is of the specified type.

Failure Returns

Type Value
bool false

Types

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

Server Related

createElement
destroyElement
getElementFromId
getElementFromName
getElementsByType

element.children
element.dimension
element.getData
element.id
element.isType
element.name
element.onAllDimensions
element.parent
element.removeAllData
element.removeData
element.resource
element.setData
element.setSyncer
element.syncer
element.type


Client Related

createElement
destroyElement
getElementFromId
getElementFromName
getElementsByType

element.children
element.dimension
element.getData
element.id
element.isLocal
element.isSyncer
element.isType
element.name
element.parent
element.removeAllData
element.removeData
element.setData
element.syncer
element.type