OOP client: Difference between revisions
m (→Element) |
m (→Vehicle) |
||
Line 70: | Line 70: | ||
==Vehicle== | ==Vehicle== | ||
''Inherited from [[#Element|Element]]'' | ''Inherited from [[#Element|Element]]'' | ||
addUpgrade (function: [[addVehicleUpgrade]]) | |||
attachTrailer (function: [[attachTrailerToVehicle]]) | |||
blow (function: [[blowVehicle]]) | |||
create (function: [[createVehicle]]) | create (function: [[createVehicle]]) | ||
detachTrailer (function: [[detachTrailerFromVehicle]]) | |||
fix (function: [[fixVehicle]]) | fix (function: [[fixVehicle]]) | ||
getAdjustableProperty (function: [[getVehicleAdjustableProperty]]) | |||
getColor (function: [[getVehicleColor]]) | |||
getCompatibleUpgrades (function: [[getVehicleCompatibleUpgrades]]) | |||
getComponentPosition (function: [[getVehicleComponentPosition]]) | |||
getComponentRotation (function: [[getVehicleComponentRotation]]) | |||
getComponents (function: [[getVehicleComponents]]) | |||
getComponentVisible (function: [[getVehicleComponentVisible]]) | |||
getController (function: [[getVehicleController]]) | getController (function: [[getVehicleController]]) | ||
getDoorOpenRatio (function: [[getVehicleDoorOpenRatio]]) | getDoorOpenRatio (function: [[getVehicleDoorOpenRatio]]) | ||
getDoorState (function: [[getVehicleDoorState]]) | |||
getEngineState (function: [[getVehicleEngineState]]) | |||
getGear (function: [[getVehicleCurrentGear]]) | |||
getGravity (function: [[getVehicleGravity]]) | |||
getHandling (function: [[getVehicleHandling]]) | getHandling (function: [[getVehicleHandling]]) | ||
getHeadLightColor (function: [[getVehicleHeadLightColor]]) | |||
getHelicopterRotorSpeed (function: [[getHelicopterRotorSpeed]]) | |||
getLandingGearDown (function: [[getVehicleLandingGearDown]]) | getLandingGearDown (function: [[getVehicleLandingGearDown]]) | ||
getLightState (function: [[getVehicleLightState]]) | getLightState (function: [[getVehicleLightState]]) | ||
getMaxPassengers (function: [[getVehicleMaxPassengers]]) | |||
getName (function: [[getVehicleName]]) | |||
getNitroCount (function: [[getVehicleNitroCount]]) | |||
getNitroLevel (function: [[getVehicleNitroLevel]]) | |||
getOccupant (function: [[getVehicleOccupant]]) | |||
getOccupants (function: [[getVehicleOccupants]]) | |||
getOverrideLights (function: [[getVehicleOverrideLights]]) | getOverrideLights (function: [[getVehicleOverrideLights]]) | ||
getPaintjob (function: [[getVehiclePaintjob]]) | |||
getPanelState (function: [[getVehiclePanelState]]) | getPanelState (function: [[getVehiclePanelState]]) | ||
getPlateText (function: [[getVehiclePlateText]]) | |||
getSirens (function: [[getVehicleSirens]]) | getSirens (function: [[getVehicleSirens]]) | ||
getSirensOn (function: [[getVehicleSirensOn]]) | getSirensOn (function: [[getVehicleSirensOn]]) | ||
getTowedByVehicle (function: [[getVehicleTowedByVehicle]]) | |||
getTowingVehicle (function: [[getVehicleTowingVehicle]]) | |||
getTrainDirection (function: [[getTrainDirection]]) | |||
getTrainSpeed (function: [[getTrainSpeed]]) | |||
getTurnVelocity (function: [[getVehicleTurnVelocity]]) | |||
getTurretPosition (function: [[getVehicleTurretPosition]]) | |||
getUpgrades (function: [[getVehicleUpgrades]]) | getUpgrades (function: [[getVehicleUpgrades]]) | ||
getUpgradeSlotName (function: [[getVehicleUpgradeSlotName]]) | getUpgradeSlotName (function: [[getVehicleUpgradeSlotName]]) | ||
getVariant (function: [[getVehicleVariant]]) | |||
getVehicleType (function: [[getVehicleType]]) | |||
getWheelStates (function: [[getVehicleWheelStates]]) | |||
isBlown (function: [[isVehicleBlown]]) | |||
isDamageProof (function: [[isVehicleDamageProof]]) | |||
isFuelTankExplodable (function: [[isVehicleFuelTankExplodable]]) | |||
isLocked (function: [[isVehicleLocked]]) | |||
isNitroActivated (function: [[isVehicleNitroActivated]]) | |||
isNitroRecharging (function: [[isVehicleNitroRecharging]]) | |||
isOnGround (function: [[isVehicleOnGround]]) | |||
isTaxiLightOn (function: [[isVehicleTaxiLightOn]]) | |||
isTrainDerailable (function: [[setTrainDerailable]]) | |||
isTrainDerailed (function: [[isTrainDerailed]]) | |||
removeUpgrade (function: [[removeVehicleUpgrade]]) | |||
resetComponentPosition (function: [[resetVehicleComponentPosition]]) | |||
resetComponentRotation (function: [[resetVehicleComponentRotation]]) | |||
setAdjustableProperty (function: [[setVehicleAdjustableProperty]]) | |||
setColor (function: [[setVehicleColor]]) | |||
setComponentPosition (function: [[setVehicleComponentPosition]]) | setComponentPosition (function: [[setVehicleComponentPosition]]) | ||
setComponentRotation (function: [[setVehicleComponentRotation]]) | setComponentRotation (function: [[setVehicleComponentRotation]]) | ||
setComponentVisible (function: [[setVehicleComponentVisible]]) | |||
setDamageProof (function: [[setVehicleDamageProof]]) | setDamageProof (function: [[setVehicleDamageProof]]) | ||
setDirtLevel (function: [[setVehicleDirtLevel]]) | |||
setDoorOpenRatio (function: [[setVehicleDoorOpenRatio]]) | setDoorOpenRatio (function: [[setVehicleDoorOpenRatio]]) | ||
setDoorState (function: [[setVehicleDoorState]]) | |||
setDoorsUndamageable (function: [[setVehicleDoorsUndamageable]]) | setDoorsUndamageable (function: [[setVehicleDoorsUndamageable]]) | ||
setEngineState (function: [[setVehicleEngineState]]) | |||
setFuelTankExplodable (function: [[setVehicleFuelTankExplodable]]) | |||
setGravity (function: [[setVehicleGravity]]) | |||
setHeadLightColor (function: [[setVehicleHeadLightColor]]) | |||
setHelicopterRotorSpeed (function: [[setHelicopterRotorSpeed]]) | |||
setLandingGearDown (function: [[setVehicleLandingGearDown]]) | setLandingGearDown (function: [[setVehicleLandingGearDown]]) | ||
setLightState (function: [[setVehicleLightState]]) | setLightState (function: [[setVehicleLightState]]) | ||
setLocked (function: [[setVehicleLocked]]) | |||
setNitroActivated (function: [[setVehicleNitroActivated]]) | setNitroActivated (function: [[setVehicleNitroActivated]]) | ||
setNitroCount (function: [[setVehicleNitroCount]]) | setNitroCount (function: [[setVehicleNitroCount]]) | ||
setNitroLevel (function: [[setVehicleNitroLevel]]) | setNitroLevel (function: [[setVehicleNitroLevel]]) | ||
setOverrideLights (function: [[setVehicleOverrideLights]]) | |||
setPaintjob (function: [[setVehiclePaintjob]]) | |||
setPanelState (function: [[setVehiclePanelState]]) | |||
setSirens (function: [[setVehicleSirens]]) | |||
setSirensOn (function: [[setVehicleSirensOn]]) | |||
setTaxiLightOn (function: [[setVehicleTaxiLightOn]]) | |||
setTrainDerailable (function: [[setTrainDerailable]]) | |||
setTrainDerailed (function: [[setTrainDerailed]]) | |||
setTrainDirection (function: [[setTrainDirection]]) | setTrainDirection (function: [[setTrainDirection]]) | ||
setTrainSpeed (function: [[setTrainSpeed]]) | setTrainSpeed (function: [[setTrainSpeed]]) | ||
setTurnVelocity (function: [[setVehicleTurnVelocity]]) | |||
setTurretPosition (function: [[setVehicleTurretPosition]]) | |||
setVariant (function: [[setVehicleVariant]]) | |||
setWheelStates (function: [[setVehicleWheelStates]]) | |||
==Ped== | ==Ped== | ||
''Inherited from [[#Element|Element]]'' | ''Inherited from [[#Element|Element]]'' |
Revision as of 17:11, 10 August 2014
The new OOP in MTA allows for better code organization and readability. This is a list of client-side functions.
See also: OOP
Element
areCollisionsEnabled (function: getElementCollisionsEnabled) attach (function: attachElements) clearVisibleTo (function: clearElementVisibleTo) clone (function: cloneElement) create (function: createElement) detach (function: detachElements) getAllByType (function: getElementsByType) getAllData (function: getAllElementData) getAlpha (function: getElementAlpha) getAttachedElements (function: getAttachedElements) getAttachedOffsets (function: getElementAttachedOffsets) getAttachedTo (function: getElementAttachedTo) getBoundingBox (function: getElementBoundingBox) getByID (function: getElementByID) getByType (function: getElementsByType) getChild (function: getElementChild) getChildren (function: getElementChildren) getChildrenCount (function: getElementChildrenCount) getColShape (function: getElementColShape) getData (function: getElementData) getDimension (function: getElementDimension) getDistanceFromCentreOfMassToBaseOfModel (function: GetElementDistanceFromCentreOfMassToBaseOfModel) getHealth (function: getElementHealth) getID (function: getElementID) getInterior (function: getElementInterior) getLowLOD (function: getLowLODElement) getModel (function: getElementModel) getParent (function: getElementParent) getSyncer (function: getElementSyncer) getType (function: getElementType) getVelocity (function: getElementVelocity) getWithinColShape (function: getElementsWithinColShape) getZoneName (function: getElementZoneName) isAttached (function: isElementAttached) isCallPropagationEnabled (function: isElementCallPropagationEnabled) isDoubleSided (function: isElementDoubleSided) isFrozen (function: isElementFrozen) isInWater (function: isElementInWater) isLowLOD (function: isElementLowLOD) isVisibleTo (function: isElementVisibleTo) isWithinColShape (function: isElementWithinColShape) isWithinMarker (function: isElementWithinMarker) removeData (function: removeElementData) setAlpha (function: setElementAlpha) setAttachedOffsets (function: setElementAttachedOffsets) setCallPropagationEnabled (function: setElementCallPropagationEnabled) setCollisionsEnabled (function: setElementCollisionsEnabled) setData (function: setElementData) setDimension (function: setElementDimension) setDoubleSided (function: setElementDoubleSided) setFrozen (function: setElementFrozen) setHealth (function: setElementHealth) setID (function: setElementID) setInterior (function: setElementInterior) setLowLOD (function: setLowLODElement) setMatrix (function: setElementMatrix) setModel (function: setElementModel) setParent (function: setElementParent) setPosition (function: setElementPosition) setVelocity (function: setElementVelocity) setVisibleTo (function: setElementVisibleTo)
Vehicle
Inherited from Element
addUpgrade (function: addVehicleUpgrade) attachTrailer (function: attachTrailerToVehicle) blow (function: blowVehicle) create (function: createVehicle) detachTrailer (function: detachTrailerFromVehicle) fix (function: fixVehicle) getAdjustableProperty (function: getVehicleAdjustableProperty) getColor (function: getVehicleColor) getCompatibleUpgrades (function: getVehicleCompatibleUpgrades) getComponentPosition (function: getVehicleComponentPosition) getComponentRotation (function: getVehicleComponentRotation) getComponents (function: getVehicleComponents) getComponentVisible (function: getVehicleComponentVisible) getController (function: getVehicleController) getDoorOpenRatio (function: getVehicleDoorOpenRatio) getDoorState (function: getVehicleDoorState) getEngineState (function: getVehicleEngineState) getGear (function: getVehicleCurrentGear) getGravity (function: getVehicleGravity) getHandling (function: getVehicleHandling) getHeadLightColor (function: getVehicleHeadLightColor) getHelicopterRotorSpeed (function: getHelicopterRotorSpeed) getLandingGearDown (function: getVehicleLandingGearDown) getLightState (function: getVehicleLightState) getMaxPassengers (function: getVehicleMaxPassengers) getName (function: getVehicleName) getNitroCount (function: getVehicleNitroCount) getNitroLevel (function: getVehicleNitroLevel) getOccupant (function: getVehicleOccupant) getOccupants (function: getVehicleOccupants) getOverrideLights (function: getVehicleOverrideLights) getPaintjob (function: getVehiclePaintjob) getPanelState (function: getVehiclePanelState) getPlateText (function: getVehiclePlateText) getSirens (function: getVehicleSirens) getSirensOn (function: getVehicleSirensOn) getTowedByVehicle (function: getVehicleTowedByVehicle) getTowingVehicle (function: getVehicleTowingVehicle) getTrainDirection (function: getTrainDirection) getTrainSpeed (function: getTrainSpeed) getTurnVelocity (function: getVehicleTurnVelocity) getTurretPosition (function: getVehicleTurretPosition) getUpgrades (function: getVehicleUpgrades) getUpgradeSlotName (function: getVehicleUpgradeSlotName) getVariant (function: getVehicleVariant) getVehicleType (function: getVehicleType) getWheelStates (function: getVehicleWheelStates) isBlown (function: isVehicleBlown) isDamageProof (function: isVehicleDamageProof) isFuelTankExplodable (function: isVehicleFuelTankExplodable) isLocked (function: isVehicleLocked) isNitroActivated (function: isVehicleNitroActivated) isNitroRecharging (function: isVehicleNitroRecharging) isOnGround (function: isVehicleOnGround) isTaxiLightOn (function: isVehicleTaxiLightOn) isTrainDerailable (function: setTrainDerailable) isTrainDerailed (function: isTrainDerailed) removeUpgrade (function: removeVehicleUpgrade) resetComponentPosition (function: resetVehicleComponentPosition) resetComponentRotation (function: resetVehicleComponentRotation) setAdjustableProperty (function: setVehicleAdjustableProperty) setColor (function: setVehicleColor) setComponentPosition (function: setVehicleComponentPosition) setComponentRotation (function: setVehicleComponentRotation) setComponentVisible (function: setVehicleComponentVisible) setDamageProof (function: setVehicleDamageProof) setDirtLevel (function: setVehicleDirtLevel) setDoorOpenRatio (function: setVehicleDoorOpenRatio) setDoorState (function: setVehicleDoorState) setDoorsUndamageable (function: setVehicleDoorsUndamageable) setEngineState (function: setVehicleEngineState) setFuelTankExplodable (function: setVehicleFuelTankExplodable) setGravity (function: setVehicleGravity) setHeadLightColor (function: setVehicleHeadLightColor) setHelicopterRotorSpeed (function: setHelicopterRotorSpeed) setLandingGearDown (function: setVehicleLandingGearDown) setLightState (function: setVehicleLightState) setLocked (function: setVehicleLocked) setNitroActivated (function: setVehicleNitroActivated) setNitroCount (function: setVehicleNitroCount) setNitroLevel (function: setVehicleNitroLevel) setOverrideLights (function: setVehicleOverrideLights) setPaintjob (function: setVehiclePaintjob) setPanelState (function: setVehiclePanelState) setSirens (function: setVehicleSirens) setSirensOn (function: setVehicleSirensOn) setTaxiLightOn (function: setVehicleTaxiLightOn) setTrainDerailable (function: setTrainDerailable) setTrainDerailed (function: setTrainDerailed) setTrainDirection (function: setTrainDirection) setTrainSpeed (function: setTrainSpeed) setTurnVelocity (function: setVehicleTurnVelocity) setTurretPosition (function: setVehicleTurretPosition) setVariant (function: setVehicleVariant) setWheelStates (function: setVehicleWheelStates)
Ped
Inherited from Element
create (function: createPed) getBodyPartName (function: getBodyPartName) getClothesTypeName (function: getClothesTypeName) getValidModels (function: getValidPedModels) getTypeIndexFromClothes (function: getTypeIndexFromClothes) getClothesByTypeIndex (function: getClothesByTypeIndex) canBeKnockedOffBike (function: canPedBeKnockedOffBike) doesHaveJetPack (function: doesPedHaveJetPack) getAmmoInClip (function: getPedAmmoInClip) getAnalogControlState (function: getPedAnalogControlState) getAnimation (function: getPedAnimation) getAnimationData (function: getPedAnimationData) getArmor (function: getPedArmor) getClothes (function: getPedClothes) addClothes (function: addPedClothes) removeClothes (function: removePedClothes) getContactElement (function: getPedContactElement) getControlState (function: getPedControlState) getMoveState (function: getPedMoveState) getOccupiedVehicle (function: GetPedOccupiedVehicle) getOxygenLevel (function: getPedOxygenLevel) getStat (function: getPedStat) getTarget (function: getPedTarget) getTargetCollision (function: getPedTargetCollision) getSimplestTask (function: getPedSimplestTask) getTask (function: getPedTask) getTotalAmmo (function: getPedTotalAmmo) getVoice (function: getPedVoice) getWeapon (function: getPedWeapon) isChocking (function: isPedChoking) isDoingGangDriveby (function: isPedDoingGangDriveby) isDoingTask (function: isPedDoingTask) isDucked (function: isPedDucked) isHeadless (function: isPedHeadless) isInVehicle (function: isPedInVehicle) isOnFire (function: isPedOnFire) isOnGround (function: isPedOnGround) isTargetingMarkerEnabled (function: isPedTargetingMarkerEnabled) setFootBloodEnabled (function: setPedFootBloodEnabled) getTargetEnd (function: getPedTargetEnd) getTargetStart (function: getPedTargetStart) getWeaponMuzzlePosition (function: getPedWeaponMuzzlePosition) getBonePosition (function: getPedBonePosition) getCameraRotation (function: getPedCameraRotation) getWalkingStyle (function: getPedWalkingStyle) setCanBeKnockedOffBike (function: setPedCanBeKnockedOffBike) setAnalogControlState (function: setPedAnalogControlState) setAnimation (function: setPedAnimation) setAnimationProgress (function: setPedAnimationProgress) setCameraRotation (function: setPedCameraRotation) setControlState (function: setPedControlState) warpIntoVehicle (function: warpPedIntoVehicle) setOxygenLevel (function: setPedOxygenLevel) setWeaponSlot (function: setPedWeaponSlot) setDoingGangDriveby (function: setPedDoingGangDriveby) setHeadless (function: setPedHeadless) setOnFire (function: setPedOnFire) setTargetingMarkerEnabled (function: setPedTargetingMarkerEnabled) setVoice (function: setPedVoice) removeFromVehicle (function: removePedFromVehicle) setAimTarget (function: setPedAimTarget) setLookAt (function: setPedLookAt) setWalkingStyle (function: setPedWalkingStyle)
Player
Inherited from Ped
giveMoney (function: givePlayerMoney) takeMoney (function: takePlayerMoney) showHudComponent (function: showPlayerHudComponent) setMoney (function: setPlayerMoney) getMoney (function: getPlayerMoney) getSerial (function: getPlayerSerial) getWantedLevel (function: getPlayerWantedLevel) getMapBoundingBox (function: getPlayerMapBoundingBox) isMapForced (function: isPlayerMapForced) isMapVisible (function: isPlayerMapVisible) isHudComponentVisible (function: isPlayerHudComponentVisible) create (function: getPlayerFromName) setNametagText (function: setPlayerNametagText) setNametagShowing (function: setPlayerNametagShowing) setNametagColor (function: setPlayerNametagColor) setBlurLevel (function: setPlayerBlurLevel) getPing (function: getPlayerPing) getName (function: getPlayerName) getTeam (function: getPlayerTeam) getNametagText (function: getPlayerNametagText) getNametagColor (function: getPlayerNametagColor) getBlurLevel (function: getPlayerBlurLevel) isNametagShowing (function: isPlayerNametagShowing)
Object
Inherited from Element
create (function: createObject) move (function: moveObject) stop (function: stopObject) break (function: breakObject) respawn (function: respawnObject) toggleObjectRespawn (function: toggleObjectRespawn) getScale (function: getObjectScale) isBreakable (function: isObjectBreakable) getMass (function: getObjectMass) setScale (function: setObjectScale) setBreakable (function: setObjectBreakable) setMass (function: setObjectMass)
Marker
Inherited from Element
create (function: createMarker) getCount (function: getMarkerCount) getType (function: getMarkerType) getIcon (function: getMarkerIcon) getSize (function: getMarkerSize) getTarget (function: getMarkerTarget) getColor (function: getMarkerColor) setType (function: setMarkerType) setIcon (function: setMarkerIcon) setSize (function: setMarkerSize) setTarget (function: setMarkerTarget) setColor (function: setMarkerColor)
Blip
Inherited from Element
create (function: createBlip) createAttachedTo (function: createBlipAttachedTo) getColor (function: getBlipColor) getVisibleDistance (function: getBlipVisibleDistance) getOrdering (function: getBlipOrdering) getSize (function: getBlipSize) getIcon (function: getBlipIcon) setColor (function: setBlipColor) setVisibleDistance (function: setBlipVisibleDistance) setOrdering (function: setBlipOrdering) setSize (function: setBlipSize) setIcon (function: setBlipIcon)
Pickup
Inherited from Element
create (function: createPickup) getAmmo (function: getPickupAmmo) getAmount (function: getPickupAmount) getWeapon (function: getPickupWeapon) getType (function: getPickupType) setType (function: setPickupType)
ColShape
Inherited from Element
Circle (function: createColCircle) Cuboid (function: createColCuboid) Rectangle (function: createColRectangle) Sphere (function: createColSphere) Tube (function: createColTube) Polygon (function: createColPolygon) getElementsWithin (function: getElementsWithinColShape) isElementWithin (function: isElementWithinColShape)
Projectile
Inherited from Element
create (function: createProjectile) getCreator (function: getProjectileCreator) getForce (function: getProjectileForce) getTarget (function: getProjectileTarget) getType (function: getProjectileType) getCounter (function: getProjectileCounter) setCounter (function: setProjectileCounter)
RadarArea
Inherited from Element
create (function: createRadarArea) isInside (function: isInsideRadarArea) isFlashing (function: isRadarAreaFlashing) getSize (function: getRadarAreaSize) getColor (function: getRadarAreaColor) setSize (function: setRadarAreaSize) setFlashing (function: setRadarAreaFlashing) setColor (function: setRadarAreaColor)
Team
Inherited from Element
create (function: getTeamFromName) getFromName (function: getTeamFromName) countPlayers (function: countPlayersInTeam) getFriendlyFire (function: getTeamFriendlyFire) getName (function: getTeamName) getColor (function: getTeamColor)
Water
Inherited from Element
create (function: createWater) testLineAgainst (function: testLineAgainstWater) isDrawnLast (function: isWaterDrawnLast) getLevel (function: getWaterLevel) getVertexPosition (function: getWaterVertexPosition) getWaveHeight (function: getWaveHeight) getColor (function: getWaterColor) setWaveHeight (function: setWaveHeight) setColor (function: setWaterColor) setVertexPosition (function: setWaterVertexPosition) setLevel (function: setWaterLevel) setDrawnLast (function: setWaterDrawnLast) resetColor (function: resetWaterColor) resetLevel (function: resetWaterLevel)
Sound
Inherited from Element
create (function: playSound) stop (function: stopSound) isPaused (function: isSoundPaused) setEffectEnabled (function: setSoundEffectEnabled) setPlaybackPosition (function: setSoundPosition) setSpeed (function: setSoundSpeed) setVolume (function: setSoundVolume) setPaused (function: setSoundPaused) setPan (function: setSoundPan) setProperties (function: setSoundProperties) getLength (function: getSoundLength) getMetaTags (function: getSoundMetaTags) getBPM (function: getSoundBPM) getFFTData (function: getSoundFFTData) getWaveData (function: getSoundWaveData) getLevelData (function: getSoundLevelData) getEffects (function: getSoundEffects) getPlaybackPosition (function: getSoundPosition) getSpeed (function: getSoundSpeed) getVolume (function: getSoundVolume) getPan (function: getSoundPan) getProperties (function: getSoundProperties)
Sound3D
Inherited from Sound
create (function: playSound3D) getMaxDistance (function: getSoundMaxDistance) getMinDistance (function: getSoundMinDistance) setMaxDistance (function: setSoundMaxDistance) setMinDistance (function: setSoundMinDistance)
Weapon
Inherited from Element
create (function: createWeapon) fire (function: fireWeapon) resetFiringRate (function: resetWeaponFiringRate) setProperty (function: setWeaponProperty) setOwner (function: setWeaponOwner) setTarget (function: setWeaponTarget) setFiringRate (function: setWeaponFiringRate) setState (function: setWeaponState) setFlags (function: setWeaponFlags) setAmmo (function: setWeaponAmmo) setClipAmmo (function: setWeaponClipAmmo) getProperty (function: setWeaponProperty) getOwner (function: getWeaponOwner) getTarget (function: getWeaponTarget) getFiringRate (function: getWeaponFiringRate) getState (function: getWeaponState) getFlags (function: getWeaponFlags) getAmmo (function: getWeaponAmmo) getClipAmmo (function: getWeaponClipAmmo)
Effect
Inherited from Element
create (function: createEffect) addBlood (function: fxAddBlood) addBulletImpact (function: fxAddBulletImpact) addBulletSplash (function: fxAddBulletSplash) addDebris (function: fxAddDebris) addFootSplash (function: fxAddFootSplash) addGlass (function: fxAddGlass) addGunshot (function: fxAddGunshot) addPunchImpact (function: fxAddPunchImpact) addSparks (function: fxAddSparks) addTankFire (function: fxAddTankFire) addTyreBurst (function: fxAddTyreBurst) addWaterHydrant (function: fxAddWaterHydrant) addWaterSplash (function: fxAddWaterSplash) addWood (function: fxAddWood) setDensity (function: setEffectDensity) setSpeed (function: setEffectSpeed) getDensity (function: getEffectDensity) getSpeed (function: getEffectSpeed)
GuiElement
Inherited from Element
bringToFront (function: guiBringToFront) moveToBack (function: guiMoveToBack) isChatBoxInputActive (function: isChatBoxInputActive) isConsoleActive (function: isConsoleActive) isDebugViewActive (function: isDebugViewActive) isMainMenuActive (function: isMainMenuActive) isMTAWindowActive (function: isMTAWindowActive) isTransferBoxActive (function: isTransferBoxActive) isInputEnabled (function: guiGetInputEnabled) getInputMode (function: guiGetInputMode) getScreenSize (function: guiGetScreenSize) getProperties (function: guiGetProperties) getAlpha (function: guiGetAlpha) getFont (function: guiGetFont) getEnabled (function: guiGetEnabled) getVisible (function: guiGetVisible) getText (function: guiGetText) getPosition (function: guiGetPosition) getSize (function: guiGetSize) getProperty (function: guiGetProperty) setInputEnabled (function: guiSetInputEnabled) setAlpha (function: guiSetAlpha) setEnabled (function: guiSetEnabled) setFont (function: guiSetFont) setVisible (function: guiSetVisible) setText (function: guiSetText) setInputMode (function: guiSetInputMode) setProperty (function: guiSetProperty) setPosition (function: guiSetPosition) setSize (function: guiSetSize)
GuiWindow
Inherited from GuiElement
create (function: guiCreateWindow) setMovable (function: guiWindowSetMovable) setSizable (function: guiWindowSetSizable)
GuiButton
Inherited from GuiElement
create (function: guiCreateButton)
GuiEdit
Inherited from GuiElement
create (function: guiCreateEdit) getCaretIndex (function: guiEditGetCaretIndex) setCaretIndex (function: guiEditSetCaretIndex) setReadOnly (function: guiEditSetReadOnly) setMasked (function: guiEditSetMasked) setMaxLength (function: guiEditSetMaxLength)
GuiLabel
Inherited from GuiElement
create (function: guiCreateLabel) getFontHeight (function: guiLabelGetFontHeight) getTextExtent (function: guiLabelGetTextExtent) getColor (function: guiLabelGetColor) setColor (function: guiLabelSetColor) setHorizontalAlign (function: guiLabelSetHorizontalAlign) setVerticalAlign (function: guiLabelSetVerticalAlign)
GuiMemo
Inherited from GuiElement
create (function: guiCreateMemo) getCaretIndex (function: guiMemoGetCaretIndex) setCaretIndex (function: guiMemoSetCaretIndex) setReadOnly (function: guiMemoSetReadOnly)
GuiStaticImage
Inherited from GuiElement
create (function: guiCreateStaticImage) loadImage (function: guiStaticImageLoadImage)
GuiComboBox
Inherited from GuiElement
create (function: guiCreateComboBox) addItem (function: guiComboBoxAddItem) clear (function: guiComboBoxClear) removeItem (function: guiComboBoxRemoveItem) getSelected (function: guiComboBoxGetSelected) getItemText (function: guiComboBoxGetItemText) setItemText (function: guiComboBoxSetItemText) setSelected (function: guiComboBoxSetSelected)
GuiCheckBox
Inherited from GuiElement
create (function: guiCreateCheckBox) getSelected (function: guiCheckBoxGetSelected) setSelected (function: guiCheckBoxSetSelected)
GuiRadioButton
Inherited from GuiElement
create (function: guiCreateRadioButton) getSelected (function: guiRadioButtonGetSelected) setSelected (function: guiRadioButtonSetSelected)
GuiScrollPane
Inherited from GuiElement
create (function: guiCreateScrollPane) getHorizontalScrollPosition (function: guiScrollPaneGetHorizontalScrollPosition) getVerticalScrollPosition (function: guiScrollPaneGetVerticalScrollPosition) setHorizontalScrollPosition (function: guiScrollPaneSetHorizontalScrollPosition) setScrollBars (function: guiScrollPaneSetScrollBars) setVerticalScrollPosition (function: guiScrollPaneSetVerticalScrollPosition)
GuiScrollBar
Inherited from GuiElement
create (function: guiCreateScrollBar) getScrollPosition (function: guiScrollBarGetScrollPosition) setScrollPosition (function: guiScrollBarSetScrollPosition)
GuiProgressBar
Inherited from GuiElement
create (function: guiCreateProgressBar) getProgress (function: guiProgressBarGetProgress) setProgress (function: guiProgressBarSetProgress)
GuiGridlist
Inherited from GuiElement
create (function: guiCreateGridList) addColumn (function: guiGridListAddColumn) addRow (function: guiGridListAddRow) autoSizeColumn (function: guiGridListAutoSizeColumn) clear (function: guiGridListClear) insertRowAfter (function: guiGridListInsertRowAfter) removeColumn (function: guiGridListRemoveColumn) removeRow (function: guiGridListRemoveRow) getItemData (function: guiGridListGetItemData) getItemText (function: guiGridListGetItemText) getRowCount (function: guiGridListGetRowCount) getSelectedItem (function: guiGridListGetSelectedItem) getItemColor (function: guiGridListGetItemColor) getColumnTitle (function: guiGridListGetColumnTitle) getHorizontalScrollPosition (function: guiGridListGetHorizontalScrollPosition) getVerticalScrollPosition (function: guiGridListGetVerticalScrollPosition) getSelectedCount (function: guiGridListGetSelectedCount) getSelectedItems (function: guiGridListGetSelectedItems) getColumnCount (function: guiGridListGetColumnCount) setItemData (function: guiGridListSetItemData) setItemText (function: guiGridListSetItemText) setScrollBars (function: guiGridListSetScrollBars) setSelectedItem (function: guiGridListSetSelectedItem) setSelectionMode (function: guiGridListSetSelectionMode) setSortingEnabled (function: guiGridListSetSortingEnabled) setColumnWidth (function: guiGridListSetColumnWidth) setItemColor (function: guiGridListSetItemColor) setColumnTitle (function: guiGridListSetColumnTitle) setHorizontalScrollPosition (function: guiGridListSetHorizontalScrollPosition) setVerticalScrollPosition (function: guiGridListSetVerticalScrollPosition)
GuiTabPanel
Inherited from GuiElement
create (function: guiCreateTabPanel) getSelectedTab (function: guiGetSelectedTab) setSelectedTab (function: guiSetSelectedTab)
GuiTab
Inherited from GuiElement
create (function: guiCreateTab) delete (function: guiDeleteTab)
GuiFont
Inherited from Element
create (function: guiCreateFont)
Resource
create (function: getResourceFromName) fromName (function: getResourceFromName) getGuiElement (function: getResourceGUIElement) getRootElement (function: getResourceRootElement) getName (function: getResourceName) getThis (function: getThisResource) getConfig (function: getResourceConfig) getConfig (function: getResourceConfig) getDynamicElementRoot (function: getResourceDynamicElementRoot) getExportedFunctions (function: getResourceExportedFunctions) getState (function: getResourceState)
Timer
create (function: setTimer) destroy (function: killTimer) reset (function: resetTimer) isValid (function: isTimer) getDetails (function: getTimerDetails)
File
create (function: fileOpen) destroy (function: fileClose) close (function: fileClose) new (function: fileCreate) delete (function: fileDelete) exists (function: fileExists) flush (function: fileFlush) getPos (function: fileGetPos) getSize (function: fileGetSize) isEOF (function: fileIsEOF) read (function: fileRead) rename (function: fileRename) setPos (function: fileSetPos) write (function: fileWrite) copy (function: fileCopy)
XML
load (function: xmlLoadFile) unload (function: xmlUnloadFile) copy (function: xmlCopyFile) create (function: xmlCreateFile) destroy (function: xmlDestroyNode) setValue (function: xmlNodeGetValue) setAttribute (function: xmlNodeSetAttribute) setValue (function: xmlNodeSetValue) saveFile (function: xmlSaveFile) createChild (function: xmlCreateChild) findChild (function: xmlFindChild) getAttributes (function: xmlNodeGetAttributes) getChildren (function: xmlNodeGetChildren) getName (function: xmlNodeGetName) getParent (function: xmlNodeGetParent) getAttribute (function: xmlNodeGetAttribute) setName (function: xmlNodeSetName)
Camera
fade (function: fadeCamera) getTarget (function: getCameraTarget) getInterior (function: getCameraInterior) getViewMode (function: getCameraViewMode) getGoggleEffect (function: getCameraGoggleEffect) setInterior (function: setCameraInterior) setTarget (function: setCameraTarget) setViewMode (function: setCameraViewMode) setGoggleEffect (function: setCameraGoggleEffect) setClip (function: setCameraClip)
Engine
restoreCOL (function: engineRestoreCOL) restoreModel (function: engineRestoreModel) setAsynchronousLoading (function: engineSetAsynchronousLoading) setModelLODDistance (function: engineSetModelLODDistance) getVisibleTextureName (function: engineGetVisibleTextureNames) getModelLODDistance (function: engineGetModelLODDistance) getModelTextureNames (function: engineGetModelTextureNames) getModelIDFromName (function: engineGetModelIDFromName) getModelNameFromID (function: engineGetModelNameFromID)
EngineCOL
Inherited from Element
create (function: engineLoadCOL) replace (function: engineReplaceCOL)
EngineTXD
Inherited from Element
create (function: engineLoadTXD) import (function: engineImportTXD)
EngineDFF
Inherited from Element
create (function: engineLoadDFF) replace (function: engineReplaceModel)
DxMaterial
Inherited from Element
getSize (function: dxGetMaterialSize)
DxTexture
Inherited from DxMaterial
create (function: dxCreateTexture) setEdge (function: dxSetTextureEdge) setPixels (function: dxSetTexturePixels) getPixels (function: dxGetTexturePixels)
DxFont
create (function: dxCreateFont) getHeight (function: dxGetFontHeight) getTextWidth (function: dxGetTextWidth)
DxShader
Inherited from DxMaterial
create (function: dxCreateShader) setValue (function: dxSetShaderValue) setTessellation (function: dxSetShaderTessellation) setTransform (function: dxSetShaderTransform) value (function: dxGetFontHeight)
DxScreenSource
create (function: dxCreateScreenSource) update (function: dxUpdateScreenSource)
DxRenderTarget
create (function: dxCreateRenderTarget) setAsTarget (function: dxSetRenderTarget)