xmlelement.getIntegerAttribute

From GTA Connected
Jump to navigation Jump to search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

int xmlelement.getIntegerAttribute(string attribute)

Description

The xmlelement.getIntegerAttribute method is used to get the integer value of an attribute.

Parameters

Type Name Presence Default Value Description
string
attribute
required n/a The name of the attribute.

Returns

Success Returns

Type Description
int
The integer value.

Failure Returns

Type Value
null
n/a

Types

This method can only be used on type:

XmlElement

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

destroyElement
getElementFromId
getElementFromName
getElementsByType
gta.createElement

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

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