Client Scripting Functions

From Multi Theft Auto: Wiki

Jump to: navigation, search

Contributors: Did you create a page but it's not on this list? Confused? Read: Adding Pages to Categories and Templates

This page lists all the client-side scripting functions that have been implemented and are available as native functions from the Deathmatch mod. To request a function or event, use Requested Functions and Events

For more functions, check the useful functions page.

Audio functions


Blip functions


Camera functions

FROM VERSION 1.4.1 r6949 ONWARDS
  • getCameraGoggleEffect
  • getCameraInterior
  • getCameraMatrix
  • getCameraTarget
  • getCameraViewMode
  • setCameraClip
  • setCameraGoggleEffect
  • setCameraInterior
  • setCameraMatrix
  • setCameraTarget
  • setCameraViewMode

  • Clothes and body functions


    Collision shape functions


    Cursor functions

    Drawing functions


    Effects functions

    FROM VERSION 1.4 ONWARDS

    Element functions


    Engine functions


    Event functions

    Explosion functions

    File functions


    Fire functions


    GUI functions

    Buttons

    Checkboxes

    Comboboxes

    Edit Fields

    Gridlists

    FROM VERSION 1.4.1 r6926 ONWARDS

    Memos

    Progressbars

    Radio Buttons

    Scrollbars

    Scrollpanes

    Static Images

    Tab Panels

    Tabs

    Text Labels

    Windows


    Input functions


    Marker functions

    Matrix functions

    Object functions


    Output functions

    Ped functions

    FROM VERSION 1.4.1 r6937 ONWARDS


    Pickup functions

    Player functions


    Projectile functions


    Radar-area functions


    Resource functions


    Team functions

    Utility functions

    FROM VERSION 1.4.1 r6791 ONWARDS


    Vehicle functions

    FROM VERSION 1.4 ONWARDS


    Water functions


    Weapon functions


    Weapon Creation functions

    Documentation can be found here and here


    World functions

    FROM VERSION 1.4.1 r6948 ONWARDS
  • getOcclusionsEnabled
  • getPlayerBlurLevel
  • getRainLevel
  • getScreenFromWorldPosition
  • getSunColor
  • getSunSize
  • getTime
  • getTrafficLightState
  • getWeather
  • getWindVelocity
  • getWorldFromScreenPosition
  • getZoneName
  • isAmbientSoundEnabled
  • isGarageOpen
  • isLineOfSightClear
  • isWorldSoundEnabled
  • isWorldSpecialPropertyEnabled
  • processLineOfSight
  • removeWorldModel
  • resetAmbientSounds
  • resetFarClipDistance
  • resetFogDistance
  • resetHeatHaze
  • resetMoonSize
  • resetRainLevel
  • resetSkyGradient
  • resetSunColor
  • resetSunSize
  • resetWindVelocity
  • resetWorldSounds
  • restoreAllWorldModels
  • restoreWorldModel
  • setAircraftMaxHeight
  • setAircraftMaxVelocity
  • setAmbientSoundEnabled
  • setBirdsEnabled
  • setCloudsEnabled
  • setFarClipDistance
  • setFogDistance
  • setGameSpeed
  • setGarageOpen
  • setGravity
  • setHeatHaze
  • setInteriorFurnitureEnabled
  • setInteriorSoundsEnabled
  • setJetpackMaxHeight
  • setMinuteDuration
  • setMoonSize
  • FROM VERSION 1.4.1 r6948 ONWARDS
  • setOcclusionsEnabled
  • setPlayerBlurLevel
  • setRainLevel
  • setSkyGradient
  • setSunColor
  • setSunSize
  • setTime
  • setTrafficLightState
  • setTrafficLightsLocked
  • setWeather
  • setWeatherBlended
  • setWindVelocity
  • setWorldSoundEnabled
  • setWorldSpecialPropertyEnabled
  • testLineAgainstWater

  • XML functions