MTA:Eir/Classes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 266: | Line 266: | ||
*[[MTA:Eir/classes/rw/TexDictionary/getTextures|getTextures]] | *[[MTA:Eir/classes/rw/TexDictionary/getTextures|getTextures]] | ||
*[[MTA:Eir/classes/rw/TexDictionary/setGlobalEmitter|setGlobalEmitter]] | *[[MTA:Eir/classes/rw/TexDictionary/setGlobalEmitter|setGlobalEmitter]] | ||
{{:MTA:Eir/FileSystem/translator/functions}} | |||
{{:MTA:Eir/FileSystem/file/functions}} | |||
==System classes== | ==System classes== |
Revision as of 03:05, 29 January 2014
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
- setRotation
- getRotation
- setHealth
- getHealth
- isDead
- setModel
- getModel
- addClothes
- getClothes
- removeClothes
- setControlState
- getControlState
- getAmmoInClip
- getTotalAmmo
- setWeaponSlot
- getWeaponSlot
- getWeapon
- setArmor
- getArmor
- getContactElement
- getFightingStyle
- getMoveState
- getVehicle
- getVehicleSeat
- getTarget
- giveJetPack
- hasJetPack
- removeJetPack
- setChoking
- isChoking
- setDoingGangDriveby
- isDucked
- isInWater
- isOnGround
- isInVehicle
- setAnimation
- setAnimationProgress
- setHeadless
- isHeadless
- setOnFire
- isOnFire
- getStat
Object
- setHealth
- getHealth
- setRotation
- getRotation
- setModel
- getModel
- cloneAtomic
- setObjectStatic
- isObjectStatic
- setObjectScale
- getObjectScale
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
Camera
TexDictionary
FileSystem Translator Functions
- open
- exists
- createDir
- chdir
- delete
- copy
- rename
- size
- stat
- relPath
- relPathRoot
- absPath
- absPathRoot
- scanDir
- scanDirEx
- getDirs
- getFiles
- setOutbreakEnabled
- getOutbreakEnabled
- setPathProcessingMode
- getPathProcessingMode
FileSystem File Functions
- read
- readByte
- readUByte
- readShort
- readUShort
- readInt
- readUInt
- readFloat
- readDouble
- readBoolean
- write
- writeByte
- writeUByte
- writeShort
- writeUShort
- writeInt
- writeUInt
- writeFloat
- writeDouble
- writeBoolean
- size
- stat
- tell
- seek
- eof
- flush
- isWritable
- isReadable