MTA:Eir/Classes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 134: | Line 134: | ||
*[[MTA:Eir/classes/Vehicle/setDerailed|setDerailed]] | *[[MTA:Eir/classes/Vehicle/setDerailed|setDerailed]] | ||
*[[MTA:Eir/classes/Vehicle/isDerailed|isDerailed]] | *[[MTA:Eir/classes/Vehicle/isDerailed|isDerailed]] | ||
===[[MTA:Eir/classes/Ped|Ped]]=== | ===[[MTA:Eir/classes/Ped|Ped]]=== | ||
*[[MTA:Eir/classes/Ped/setRotation|setRotation]] | |||
*[[MTA:Eir/classes/Ped/getRotation|getRotation]] | |||
*[[MTA:Eir/classes/Ped/setHealth|setHealth]] | |||
*[[MTA:Eir/classes/Ped/getHealth|getHealth]] | |||
*[[MTA:Eir/classes/Ped/isDead|isDead]] | |||
*[[MTA:Eir/classes/Ped/setModel|setModel]] | |||
*[[MTA:Eir/classes/Ped/getModel|getModel]] | |||
*[[MTA:Eir/classes/Ped/addClothes|addClothes]] | |||
*[[MTA:Eir/classes/Ped/getClothes|getClothes]] | |||
*[[MTA:Eir/classes/Ped/removeClothes|removeClothes]] | |||
*[[MTA:Eir/classes/Ped/setControlState|setControlState]] | |||
*[[MTA:Eir/classes/Ped/getControlState|getControlState]] | |||
*[[MTA:Eir/classes/Ped/getAmmoInClip|getAmmoInClip]] | |||
*[[MTA:Eir/classes/Ped/getTotalAmmo|getTotalAmmo]] | |||
*[[MTA:Eir/classes/Ped/setWeaponSlot|setWeaponSlot]] | |||
*[[MTA:Eir/classes/Ped/getWeaponSlot|getWeaponSlot]] | |||
*[[MTA:Eir/classes/Ped/getWeapon|getWeapon]] | |||
*[[MTA:Eir/classes/Ped/setArmor|setArmor]] | |||
*[[MTA:Eir/classes/Ped/getArmor|getArmor]] | |||
*[[MTA:Eir/classes/Ped/getContactElement|getContactElement]] | |||
*[[MTA:Eir/classes/Ped/getFightingStyle|getFightingStyle]] | |||
*[[MTA:Eir/classes/Ped/getMoveState|getMoveState]] | |||
*[[MTA:Eir/classes/Ped/getVehicle|getVehicle]] | |||
*[[MTA:Eir/classes/Ped/getVehicleSeat|getVehicleSeat]] | |||
*[[MTA:Eir/classes/Ped/getTarget|getTarget]] | |||
*[[MTA:Eir/classes/Ped/giveJetPack|giveJetPack]] | |||
*[[MTA:Eir/classes/Ped/hasJetPack|hasJetPack]] | |||
*[[MTA:Eir/classes/Ped/removeJetPack|removeJetPack]] | |||
*[[MTA:Eir/classes/Ped/setChoking|setChoking]] | |||
*[[MTA:Eir/classes/Ped/isChoking|isChoking]] | |||
*[[MTA:Eir/classes/Ped/setDoingGangDriveby|setDoingGangDriveby]] | |||
*[[MTA:Eir/classes/Ped/isDucked|isDucked]] | |||
*[[MTA:Eir/classes/Ped/isInWater|isInWater]] | |||
*[[MTA:Eir/classes/Ped/isOnGround|isOnGround]] | |||
*[[MTA:Eir/classes/Ped/isInVehicle|isInVehicle]] | |||
*[[MTA:Eir/classes/Ped/setAnimation|setAnimation]] | |||
*[[MTA:Eir/classes/Ped/setAnimationProgress|setAnimationProgress]] | |||
*[[MTA:Eir/classes/Ped/setHeadless|setHeadless]] | |||
*[[MTA:Eir/classes/Ped/isHeadless|isHeadless]] | |||
*[[MTA:Eir/classes/Ped/setOnFire|setOnFire]] | |||
*[[MTA:Eir/classes/Ped/isOnFire|isOnFire]] | |||
*[[MTA:Eir/classes/Ped/getStat|getStat]] | |||
===[[MTA:Eir/classes/Object|Object]]=== | ===[[MTA:Eir/classes/Object|Object]]=== | ||
*[[MTA:Eir/classes/Object/setHealth|setHealth]] | |||
*[[MTA:Eir/classes/Object/getHealth|getHealth]] | |||
*[[MTA:Eir/classes/Object/setRotation|setRotation]] | |||
*[[MTA:Eir/classes/Object/getRotation|getRotation]] | |||
*[[MTA:Eir/classes/Object/setModel|setModel]] | |||
*[[MTA:Eir/classes/Object/getModel|getModel]] | |||
*[[MTA:Eir/classes/Object/cloneAtomic|cloneAtomic]] | |||
*[[MTA:Eir/classes/Object/setObjectStatic|setObjectStatic]] | |||
*[[MTA:Eir/classes/Object/isObjectStatic|isObjectStatic]] | |||
*[[MTA:Eir/classes/Object/setObjectScale|setObjectScale]] | |||
*[[MTA:Eir/classes/Object/getObjectScale|getObjectScale]] | |||
==RenderWare engine classes== | ==RenderWare engine classes== |
Revision as of 19:44, 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
- 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