MTA:Eir/Classes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 210: | Line 210: | ||
===[[MTA:Eir/classes/rw/TexDictionary|TexDictionary]]=== | ===[[MTA:Eir/classes/rw/TexDictionary|TexDictionary]]=== | ||
*[[MTA:Eir/classes/rw/TexDictionary/getTextures|getTextures]] | |||
*[[MTA:Eir/classes/rw/TexDictionary/setGlobalEmitter|setGlobalEmitter]] | |||
==System classes== | ==System classes== |
Revision as of 19:34, 11 December 2013
Here is a list of all MTA:Lua classes that native MTA:Eir supports. They are defined in the MTA:Lua class system. MTA:Lua is the Lua implementation developed and specialized for MTA:Eir.
Game classes
Game Entity
Vehicle
- setRotation
- getRotation
- setModel
- getModel
- setHealth
- getHealth
- fix
- blow
- isBlown
- setExplodeTime
- getExplodeTime
- setBurningTime
- getBurningTime
- addUpgrade
- getUpgradeOnSlot
- getUpgrades
- setHandling
- getHandling
- removeUpgrade
- getOccupant
- getOccupants
- setOverrideLights
- getOverrideLights
- setTaxiLightOn
- isTaxiLightOn
- isUpsideDown
- setColor
- setColorRGB
- getColor
- getColorRGB
- setHeadLightColor
- getHeadLightColor
- attachTrailer
- detachTrailer
- getTowBarPos
- getTowHitchPos
- setAdjustableProperty
- getAdjustableProperty
- setGravity
- getGravity
- setDoorState
- getDoorState
- setLightState
- getLightState
- setPanelState
- getPanelState
- setWheelStates
- getWheelStates
- cloneClump
- getComponent
- getComponentNames
- setEngineState
- getEngineState
- setHandbrakeOn
- isHandbrakeOn
- setLandingGearDown
- getLandingGearDown
- setLandingGearPosition
- getLandingGearPosition
- setBrakePedal
- setGasPedal
- setSteerAngle
- setSecSteerAngle
- getCurrentGear
- getBrakePedal
- getGasPedal
- getSteerAngle
- getSecSteerAngle
- setNitrousFuel
- getNitrousFuel
- setPaintjob
- getPaintjob
- getPlateText
- setSirensOn
- getTowedByVehicle
- getTowingVehicle
- setTurnVelocity
- getTurnVelocity
- setTurretRotation
- getTurretRotation
- setDamageProof
- isDamageProof
- setFrozen
- isFrozen
- setFuelTankExplodable
- isFuelTankExplodable
- setHeatSeekable
- isHeatSeekable
- setLocked
- isLocked
- isOnGround
- setDirtLevel
- getDirtLevel
- setDoorsUndamageable
- areDoorsUndamageable
- setDoorOpenRatio
- getDoorOpenRatio
- allowSwingingDoors
- areSwingingDoorsAllowed
- setRotorSpeed
- getRotorSpeed
- setSearchLightVisible
- isSearchLightVisible
- setHeliWinchType
- getHeliWinchType
- pickUpWithWinch
- getWinchedEntity
- releaseWinched
- setSmokeTrailEnabled
- isSmokeTrailEnabled
- setTrainDirection
- getTrainDirection
- setTrainSpeed
- getTrainSpeed
- getNextCarriage
- setNextCarriage
- setPreviousCarriage
- getPreviousCarriage
- setDerailable
- isDerailable
- setDerailed
- isDerailed
Ped
Object
RenderWare engine classes
Object
Frame
- getName
- setName
- getHash
- getLTM
- setModelling
- getModelling
- setPosition
- getPosition
- getObjects
- findFrame
- getLinkedFrames
- isValidChild
Atomic
- clone
- setClump
- getClump
- render
- getWorldSphere
- replaceModel
- isReplaced
- getReplaced
- restoreModel
- restoreAll
Clump
- clone
- render
- getAtomics
- getLights
- getCameras
- replaceModel
- isReplaced
- getReplaced
- restoreModel
- restoreAll
Light
- clone
- getLightType
- setClump
- getClump
- setRadius
- getRadius
- setConeAngle
- getConeAngle
- setColor
- getColor
- setAttenuation
- getAttenuation
- setLightIndex
- getLightIndex
- addToScene
- isAddedToScene
- removeFromScene