Client/Functions: Difference between revisions
No edit summary |
WikiPageBot (talk | contribs) No edit summary |
||
Line 70: | Line 70: | ||
== Game Stat Functions == | == Game Stat Functions == | ||
{{Client/Functions/GameStat}} | {{Client/Functions/GameStat}} | ||
== Gamemode Functions == | |||
{{Client/Functions/Gamemode}} | |||
== Garage Functions == | == Garage Functions == | ||
Line 85: | Line 88: | ||
== GUI Functions == | == GUI Functions == | ||
{{Client/Functions/GUI}} | {{Client/Functions/GUI}} | ||
== GUIElement Functions == | |||
{{Client/Functions/GUIElement}} | |||
== GUIHtmlElement Functions == | |||
{{Client/Functions/GUIHtmlElement}} | |||
== GUIHtmlView Functions == | |||
{{Client/Functions/GUIHtmlView}} | |||
== GUIPage Functions == | |||
{{Client/Functions/GUIPage}} | |||
== GUIWindow Functions == | |||
{{Client/Functions/GUIWindow}} | |||
== HUD Functions == | == HUD Functions == | ||
Line 91: | Line 109: | ||
== IPL Functions == | == IPL Functions == | ||
{{Client/Functions/IPL}} | {{Client/Functions/IPL}} | ||
== Island Functions == | |||
{{Client/Functions/Island}} | |||
== Key Functions == | == Key Functions == | ||
Line 169: | Line 190: | ||
== SDL Functions == | == SDL Functions == | ||
{{Client/Functions/SDL}} | {{Client/Functions/SDL}} | ||
== Session Functions == | |||
{{Client/Functions/Session}} | |||
== Snow Functions == | == Snow Functions == | ||
Line 178: | Line 202: | ||
== Stream Functions == | == Stream Functions == | ||
{{Client/Functions/Stream}} | {{Client/Functions/Stream}} | ||
== TextReader Functions == | |||
{{Client/Functions/TextReader}} | |||
== Time Functions == | == Time Functions == |
Revision as of 19:07, 1 December 2020
This is a list of all client functions. For more information on using functions, visit the how to use functions page.
Audio Functions
audio.createSound
audio.createSoundFromURL
Blip Functions
getBlipCount
getBlips
gta.createBlip
gta.createBlipAttachedTo
blip.children
blip.clearExistsFor
blip.dimension
blip.existsFor
blip.getData
blip.getRotation
blip.id
blip.isCreatedFor
blip.isLocal
blip.isOwner
blip.isSyncer
blip.isType
blip.name
blip.netFlags
blip.parent
blip.position
blip.removeAllData
blip.removeData
blip.resource
blip.rotation
blip.setData
blip.setExistsFor
blip.setRotation
blip.setSyncer
blip.streamInDistance
blip.streamOutDistance
blip.syncer
blip.syncerId
blip.type
Building Functions
getBuildingCount
getBuildings
gta.createBuilding
gta.swapNearestBuildingModel
gta.undoBuildingSwaps
Camera Functions
gta.cameraInterior
gta.cameraMatrix
gta.cameraTarget
gta.fadeCamera
gta.fading
gta.restoreCamera
gta.setCameraLookAt
gta.setCameraLookAtEntity
gta.setCameraMatrix
gta.setCameraTarget
gta.setGenerateCarsAroundCamera
gta.updateCamera
Chatbox Functions
Cheat Functions
gta.isCheatEnabled
gta.setCheatEnabled
Civilian Functions
gta.createCivilian
civilian.alpha
civilian.armour
civilian.bleeding
civilian.boundingCentre
civilian.boundingMax
civilian.boundingMin
civilian.boundingRadius
civilian.buyIceCream
civilian.canBeKnockedOffBike
civilian.centerOfMass
civilian.changeBodyPart
civilian.children
civilian.clearObjective
civilian.clearThreatSearch
civilian.clearWeapons
civilian.collisionPower
civilian.collisionsEnabled
civilian.contactEntity
civilian.contactEntityOffset
civilian.crouching
civilian.dimension
civilian.distanceFromCentreOfMassToBaseOfModel
civilian.dropObject
civilian.duck
civilian.enterVehicle
civilian.exitVehicle
civilian.getData
civilian.getRotation
civilian.getWeaponAmmunition
civilian.getWeaponClipAmmunition
civilian.giveHelmet
civilian.giveWeapon
civilian.hailTaxi
civilian.heading
civilian.health
civilian.heedThreats
civilian.holdObject
civilian.id
civilian.interior
civilian.invincible
civilian.isEnteringVehicle
civilian.isExitingVehicle
civilian.isInVehicle
civilian.isLocal
civilian.isOnScreen
civilian.isOwner
civilian.isSyncer
civilian.isType
civilian.jumping
civilian.lookAt
civilian.markAsNoLongerNeeded
civilian.mass
civilian.matrix
civilian.maxHealth
civilian.maxStamina
civilian.modelIndex
civilian.money
civilian.name
civilian.objective
civilian.onAllDimensions
civilian.owner
civilian.parent
civilian.pedType
civilian.pointGunAt
civilian.position
civilian.removeAllData
civilian.removeBodyPart
civilian.removeData
civilian.removeFromVehicle
civilian.removeHelmet
civilian.removeNametag
civilian.resource
civilian.resurrect
civilian.runTo
civilian.say
civilian.seat
civilian.setData
civilian.setNametag
civilian.setPedStats
civilian.setProofs
civilian.setRotation
civilian.setSeek
civilian.setSyncer
civilian.setThreatSearch
civilian.setWaitState
civilian.setWanderPath
civilian.setWeaponAmmunition
civilian.setWeaponClipAmmunition
civilian.skin
civilian.sprintTo
civilian.stamina
civilian.staminaDuration
civilian.state
civilian.status
civilian.stayInSamePlace
civilian.syncer
civilian.turnVelocity
civilian.type
civilian.upperTorsoRotation
civilian.vehicle
civilian.velocity
civilian.waitState
civilian.walkStyle
civilian.walkTo
civilian.warpIntoVehicle
civilian.weapon
civilian.weaponState
Client Functions
getClient
getClientFromPlayerElement
getClients
localClient
client.administrator
client.console
client.despawnPlayer
client.disconnect
client.game
client.gameVersion
client.getData
client.index
client.ip
client.name
client.ping
client.player
client.removeAllData
client.removeData
client.setData
Command Functions
addCommandHandler
consoleCommand
hasCommandHandler
removeCommandHandler
Computer Functions
Cursor Functions
Custom Text Functions
gta.clearCustomText
gta.printBig
gta.setCustomText
Cutscene Functions
gta.cutscene.finished
gta.cutscene.load
gta.cutscene.loadStatus
gta.cutscene.start
gta.cutscene.stop
gta.cutscene.time
gta.startCutsceneNow
Debug Functions
Drawing Functions
Effect Functions
gta.addMovingParticleEffect
gta.addParticleEffect
gta.createSingleParticle
Element Functions
destroyElement
getElementCount
getElementFromId
getElementFromName
getElements
getElementsByType
element.children
element.clearExistsFor
element.dimension
element.existsFor
element.getData
element.getRotation
element.id
element.isCreatedFor
element.isLocal
element.isOwner
element.isSyncer
element.isType
element.name
element.netFlags
element.parent
element.position
element.removeAllData
element.removeData
element.resource
element.rotation
element.setData
element.setExistsFor
element.setRotation
element.setSyncer
element.streamInDistance
element.streamOutDistance
element.syncer
element.syncerId
element.type
Entity Functions
gta.undoEntityInvisibilitySettings
entity.alpha
entity.boundingCentre
entity.boundingMax
entity.boundingMin
entity.boundingRadius
entity.children
entity.clearExistsFor
entity.collisionBoxCount
entity.collisionBoxes
entity.collisionLineCount
entity.collisionLines
entity.collisionsEnabled
entity.collisionSphereCount
entity.collisionSpheres
entity.collisionVertexCount
entity.collisionVertices
entity.dimension
entity.distanceFromCentreOfMassToBaseOfModel
entity.existsFor
entity.getData
entity.getRotation
entity.heading
entity.id
entity.interior
entity.isCreatedFor
entity.isLocal
entity.isOnScreen
entity.isOwner
entity.isSyncer
entity.isType
entity.markAsNoLongerNeeded
entity.matrix
entity.model
entity.modelIndex
entity.name
entity.netFlags
entity.onScreen
entity.parent
entity.position
entity.removeAllData
entity.removeData
entity.resource
entity.rotation
entity.setData
entity.setExistsFor
entity.setProofs
entity.setRotation
entity.setSyncer
entity.status
entity.streamInDistance
entity.streamOutDistance
entity.syncer
entity.syncerId
entity.type
entity.visible
Event Functions
addEvent
addEventHandler
bindEventHandler
removeEventHandler
triggerEvent
triggerNetworkEvent
unbindEventHandler
File Functions
createFile
fileExists
loadTextFile
openFile
saveTextFile
Font Functions
font.measure
font.render
font.size
Game Functions
Game Stat Functions
gta.getGameStat
gta.setGameStat
Gamemode Functions
Garage Functions
closeGarage
isGarageClosed
openGarage
Garbage Collection Functions
Graphics Functions
graphics.drawLine3D
graphics.drawPrimitive3D
graphics.drawQuad3D
graphics.drawRectangle
graphics.drawTriangle3D
graphics.loadBMP
graphics.loadPNG
Ground Snow Functions
groundSnow.clearModelExclusions
groundSnow.defaultExclusions
groundSnow.excludeModel
groundSnow.flush
GUI Functions
gui.addElement
gui.cursorEnabled
gui.cursorPosition
gui.destroyElement
gui.destroyElements
gui.getElementFromName
gui.showCursor
GUIElement Functions
gUIElement.bottom
gUIElement.bringToTop
gUIElement.focusBringsToTop
gUIElement.height
gUIElement.invalidate
gUIElement.left
gUIElement.name
gUIElement.right
gUIElement.setDocked
gUIElement.top
gUIElement.useClip
gUIElement.visible
gUIElement.width
gUIElement.x
gUIElement.y
GUIHtmlElement Functions
gUIHtmlElement.clear
gUIHtmlElement.getChild
gUIHtmlElement.orphan
gUIHtmlElement.parent
gUIHtmlElement.select
gUIHtmlElement.selectAll
gUIHtmlElement.setInnerHtml
gUIHtmlElement.text
GUIHtmlView Functions
gUIHtmlView.addOffset
gUIHtmlView.bottom
gUIHtmlView.bringToTop
gUIHtmlView.document
gUIHtmlView.focusBringsToTop
gUIHtmlView.height
gUIHtmlView.invalidate
gUIHtmlView.left
gUIHtmlView.maxOffset
gUIHtmlView.name
gUIHtmlView.offset
gUIHtmlView.open
gUIHtmlView.right
gUIHtmlView.setDocked
gUIHtmlView.top
gUIHtmlView.updateLayout
gUIHtmlView.useClip
gUIHtmlView.visible
gUIHtmlView.width
gUIHtmlView.x
gUIHtmlView.y
GUIPage Functions
gUIPage.addElement
gUIPage.bottom
gUIPage.bringToTop
gUIPage.focusBringsToTop
gUIPage.getElementFromName
gUIPage.height
gUIPage.invalidate
gUIPage.left
gUIPage.name
gUIPage.right
gUIPage.setDocked
gUIPage.top
gUIPage.useClip
gUIPage.visible
gUIPage.width
gUIPage.x
gUIPage.y
GUIWindow Functions
gUIWindow.addClientElement
gUIWindow.addElement
gUIWindow.bottom
gUIWindow.bringToTop
gUIWindow.focusBringsToTop
gUIWindow.getElementFromName
gUIWindow.height
gUIWindow.invalidate
gUIWindow.left
gUIWindow.name
gUIWindow.right
gUIWindow.setDocked
gUIWindow.text
gUIWindow.title
gUIWindow.top
gUIWindow.useClip
gUIWindow.visible
gUIWindow.width
gUIWindow.x
gUIWindow.y
HUD Functions
IPL Functions
Island Functions
gta.getIslandFromPosition
gta.setIsland
gta.setIslands
Key Functions
bindKey
isKeyDown
isScancodePressed
unbindAllKeys
unbindKey
KeyEvent Functions
keyEvent.down
keyEvent.isDefaultPrevented
keyEvent.keyCode
keyEvent.mod
keyEvent.preventDefault
keyEvent.repeat
keyEvent.scanCode
Kill Frenzy Functions
Marker Functions
getMarkerCount
getMarkers
gta.createSphere
marker.brightness
marker.cameraRange
marker.children
marker.clearExistsFor
marker.colour
marker.dimension
marker.existsFor
marker.getData
marker.getRotation
marker.id
marker.isCreatedFor
marker.isLocal
marker.isOwner
marker.isSyncer
marker.isType
marker.name
marker.netFlags
marker.parent
marker.position
marker.pulseFraction
marker.pulsePeriod
marker.radius
marker.removeAllData
marker.removeData
marker.resource
marker.rotateRate
marker.rotation
marker.setData
marker.setExistsFor
marker.setRotation
marker.setSyncer
marker.streamInDistance
marker.streamOutDistance
marker.syncer
marker.syncerId
marker.type
Matrix4x4 Functions
matrix4x4.getElement
matrix4x4.getVector3
matrix4x4.m11
matrix4x4.m12
matrix4x4.m13
matrix4x4.m14
matrix4x4.m21
matrix4x4.m22
matrix4x4.m23
matrix4x4.m24
matrix4x4.m31
matrix4x4.m32
matrix4x4.m33
matrix4x4.m34
matrix4x4.m41
matrix4x4.m42
matrix4x4.m43
matrix4x4.m44
matrix4x4.multiply
matrix4x4.setElement
matrix4x4.setIdentity
matrix4x4.setInverse
matrix4x4.setMultiply
matrix4x4.setRotate
matrix4x4.setRotateX
matrix4x4.setRotateY
matrix4x4.setRotateZ
matrix4x4.setScale
matrix4x4.setTranslate
matrix4x4.transformCoordinate
Message Functions
gta.bigMessage
gta.clearMessages
gta.pagerMessage
gta.smallMessage
Miscellaneous Functions
collectAllGarbage
debugMode
getConsole
getRandomSkin
gta.gameSpeed
gta.getRandomSkin
gta.getSurfaceTraction
gta.processLineOfSight
gta.setDefaultInteriors
gta.setSurfaceTraction
gta.setWindSpeed
gta.showHelpBox
gta.tickCount
inPoly
platform
toColour
Mission Functions
gta.cancelMission
gta.onMission
gta.startMission
Network Functions
addNetworkHandler
connect
disconnect
gta.shutdownAndLaunchNetworkGame
isConnected
isConnecting
removeNetworkHandler
Object Functions
getObjectCount
getObjects
gta.convertAllObjectsToDummyObjects
gta.createObject
gta.removeWorldObject
gta.setVisibilityOfClosestObjectOfType
registerNetObject
object.affectedByGravity
object.alpha
object.boundingCentre
object.boundingMax
object.boundingMin
object.boundingRadius
object.centerOfMass
object.children
object.clearExistsFor
object.collisionBoxCount
object.collisionBoxes
object.collisionLineCount
object.collisionLines
object.collisionPower
object.collisionsEnabled
object.collisionSphereCount
object.collisionSpheres
object.collisionVertexCount
object.collisionVertices
object.dimension
object.distanceFromCentreOfMassToBaseOfModel
object.existsFor
object.getData
object.getRotation
object.heading
object.health
object.id
object.interior
object.inWater
object.isCreatedFor
object.island
object.isLocal
object.isOnScreen
object.isOwner
object.isSyncer
object.isType
object.markAsNoLongerNeeded
object.mass
object.matrix
object.model
object.modelIndex
object.name
object.netFlags
object.onScreen
object.parent
object.position
object.removeAllData
object.removeData
object.resource
object.rotation
object.setData
object.setExistsFor
object.setProofs
object.setRotation
object.setSyncer
object.status
object.streamInDistance
object.streamOutDistance
object.syncer
object.syncerId
object.turnVelocity
object.type
object.velocity
object.visible
Path Functions
gta.setCiviliansEnabled
gta.setTrafficEnabled
gta.trafficDensity
Pause Functions
Ped Functions
getPedCount
getPeds
gta.clearThreatForPedType
gta.createPed
gta.forceRandomPedType
gta.pedDensity
gta.setThreatForPedType
gta.setZonePedInfo
gta.tommyFatness
ped.addAnimation
ped.affectedByGravity
ped.alpha
ped.armour
ped.bleeding
ped.blendAnimation
ped.boundingCentre
ped.boundingMax
ped.boundingMin
ped.boundingRadius
ped.buyIceCream
ped.canBeKnockedOffBike
ped.canExitVehicle
ped.centerOfMass
ped.changeBodyPart
ped.children
ped.clearAnimations
ped.clearExistsFor
ped.clearObjective
ped.clearPointGunAt
ped.clearThreatSearch
ped.clearWeapons
ped.collisionBoxCount
ped.collisionBoxes
ped.collisionLineCount
ped.collisionLines
ped.collisionPower
ped.collisionsEnabled
ped.collisionSphereCount
ped.collisionSpheres
ped.collisionVertexCount
ped.collisionVertices
ped.contactEntity
ped.contactEntityOffset
ped.crouching
ped.crouchingTime
ped.dimension
ped.distanceFromCentreOfMassToBaseOfModel
ped.dropObject
ped.duck
ped.enterVehicle
ped.existsFor
ped.exitVehicle
ped.getComponentOffset
ped.getComponentPosition
ped.getData
ped.getNearestDoorPosition
ped.getNearestPassengerDoorPosition
ped.getPositionToOpenVehicleDoor
ped.getRotation
ped.getWeaponAmmunition
ped.getWeaponClipAmmunition
ped.getWeaponSlotAmmunition
ped.getWeaponSlotClipAmmunition
ped.giveHelmet
ped.giveWeapon
ped.hailTaxi
ped.heading
ped.health
ped.health
ped.heedThreats
ped.holdObject
ped.id
ped.instantVehicleExit
ped.instantVehicleJack
ped.interior
ped.invincible
ped.inWater
ped.isCreatedFor
ped.isEnteringVehicle
ped.isExitingVehicle
ped.isInVehicle
ped.island
ped.isLocal
ped.isOnScreen
ped.isOwner
ped.isSyncer
ped.isType
ped.jumping
ped.lookAt
ped.markAsNoLongerNeeded
ped.mass
ped.matrix
ped.maxArmour
ped.maxHealth
ped.maxStamina
ped.model
ped.modelIndex
ped.money
ped.name
ped.netFlags
ped.objective
ped.onScreen
ped.parent
ped.pedType
ped.pointGunAt
ped.pointGunAtPosition
ped.position
ped.removeAllData
ped.removeBodyPart
ped.removeData
ped.removeFromVehicle
ped.removeHelmet
ped.removeNametag
ped.resource
ped.resurrect
ped.roomToBeVehicleJacked
ped.rotation
ped.runTo
ped.say
ped.seat
ped.setData
ped.setExistsFor
ped.setNametag
ped.setPedStats
ped.setProofs
ped.setRotation
ped.setSeek
ped.setSyncer
ped.setThreatSearch
ped.setWaitState
ped.setWanderPath
ped.setWeaponAmmunition
ped.setWeaponClipAmmunition
ped.setWeaponSlotAmmunition
ped.setWeaponSlotClipAmmunition
ped.skin
ped.sprintTo
ped.stamina
ped.staminaDuration
ped.state
ped.status
ped.stayInSamePlace
ped.streamInDistance
ped.streamOutDistance
ped.syncer
ped.syncerId
ped.turnVelocity
ped.type
ped.upperTorsoRotation
ped.vehicle
ped.velocity
ped.visible
ped.waitState
ped.walkStyle
ped.walkTo
ped.warpIntoVehicle
ped.weapon
ped.weapons
ped.weaponSlot
ped.weaponSlots
ped.weaponState
Phone Functions
gta.giveContact
gta.triggerPhoneCall
Physical Functions
physical.affectedByGravity
physical.alpha
physical.boundingCentre
physical.boundingMax
physical.boundingMin
physical.boundingRadius
physical.centerOfMass
physical.children
physical.clearExistsFor
physical.collisionBoxCount
physical.collisionBoxes
physical.collisionLineCount
physical.collisionLines
physical.collisionPower
physical.collisionsEnabled
physical.collisionSphereCount
physical.collisionSpheres
physical.collisionVertexCount
physical.collisionVertices
physical.dimension
physical.distanceFromCentreOfMassToBaseOfModel
physical.existsFor
physical.getData
physical.getRotation
physical.heading
physical.health
physical.id
physical.interior
physical.inWater
physical.isCreatedFor
physical.island
physical.isLocal
physical.isOnScreen
physical.isOwner
physical.isSyncer
physical.isType
physical.markAsNoLongerNeeded
physical.mass
physical.matrix
physical.model
physical.modelIndex
physical.name
physical.netFlags
physical.onScreen
physical.parent
physical.position
physical.removeAllData
physical.removeData
physical.resource
physical.rotation
physical.setData
physical.setExistsFor
physical.setProofs
physical.setRotation
physical.setSyncer
physical.status
physical.streamInDistance
physical.streamOutDistance
physical.syncer
physical.syncerId
physical.turnVelocity
physical.type
physical.velocity
physical.visible
Pickup Functions
getPickupCount
getPickups
getWeaponPickupPrice
gta.createPickup
gta.enableHelpPickup
gta.removeHelpPickup
gta.removeHelpPickups
setWeaponPickupPrice
pickup.children
pickup.clearExistsFor
pickup.collected
pickup.dimension
pickup.existsFor
pickup.getData
pickup.getRotation
pickup.id
pickup.isCreatedFor
pickup.isLocal
pickup.isOwner
pickup.isSyncer
pickup.isType
pickup.modelIndex
pickup.name
pickup.netFlags
pickup.parent
pickup.pickupType
pickup.position
pickup.quantity
pickup.removeAllData
pickup.removeData
pickup.resource
pickup.rotation
pickup.setData
pickup.setExistsFor
pickup.setRotation
pickup.setSyncer
pickup.spawnTime
pickup.streamInDistance
pickup.streamOutDistance
pickup.syncer
pickup.syncerId
pickup.type
Player Functions
createPlayer
getPlayerCount
getPlayers
gta.createPlayer
gta.setPlayerControl
gta.shutdownAndLaunchSinglePlayerGame
localPlayer
setLocalPlayer
spawnPlayer
player.addAnimation
player.affectedByGravity
player.alcoholLevel
player.alpha
player.armour
player.bleeding
player.blendAnimation
player.boundingCentre
player.boundingMax
player.boundingMin
player.boundingRadius
player.buyIceCream
player.canBeKnockedOffBike
player.canExitVehicle
player.centerOfMass
player.changeBodyPart
player.children
player.clearAnimations
player.clearExistsFor
player.clearObjective
player.clearPointGunAt
player.clearThreatSearch
player.clearWeapons
player.collisionBoxCount
player.collisionBoxes
player.collisionLineCount
player.collisionLines
player.collisionPower
player.collisionsEnabled
player.collisionSphereCount
player.collisionSpheres
player.collisionVertexCount
player.collisionVertices
player.contactEntity
player.contactEntityOffset
player.crouching
player.crouchingTime
player.dimension
player.displayedMoney
player.distanceFromCentreOfMassToBaseOfModel
player.dropObject
player.duck
player.enterVehicle
player.existsFor
player.exitVehicle
player.getComponentOffset
player.getComponentPosition
player.getControlState
player.getData
player.getNearestDoorPosition
player.getNearestPassengerDoorPosition
player.getPositionToOpenVehicleDoor
player.getRotation
player.getWeaponAmmunition
player.getWeaponClipAmmunition
player.getWeaponSlotAmmunition
player.getWeaponSlotClipAmmunition
player.giveHelmet
player.giveWeapon
player.hailTaxi
player.heading
player.health
player.health
player.heedThreats
player.holdObject
player.id
player.instantVehicleExit
player.instantVehicleJack
player.interior
player.invincible
player.inWater
player.isCreatedFor
player.isEnteringVehicle
player.isExitingVehicle
player.isInVehicle
player.island
player.isLocal
player.isOnScreen
player.isOwner
player.isSyncer
player.isType
player.jumping
player.lookAt
player.markAsNoLongerNeeded
player.mass
player.matrix
player.maxArmour
player.maxHealth
player.maxStamina
player.model
player.modelIndex
player.money
player.money
player.name
player.netFlags
player.objective
player.onScreen
player.parent
player.pedType
player.pointGunAt
player.pointGunAtPosition
player.position
player.removeAllData
player.removeBodyPart
player.removeData
player.removeFromVehicle
player.removeHelmet
player.removeNametag
player.resource
player.resurrect
player.roomToBeVehicleJacked
player.rotation
player.runTo
player.say
player.seat
player.setData
player.setExistsFor
player.setFightStyle
player.setInitialState
player.setNametag
player.setPedStats
player.setProofs
player.setRotation
player.setSeek
player.setSyncer
player.setThreatSearch
player.setWaitState
player.setWanderPath
player.setWeaponAmmunition
player.setWeaponClipAmmunition
player.setWeaponSlotAmmunition
player.setWeaponSlotClipAmmunition
player.skin
player.sprintTo
player.stamina
player.staminaDuration
player.state
player.status
player.stayInSamePlace
player.storedMoney
player.streamInDistance
player.streamOutDistance
player.syncer
player.syncerId
player.turnVelocity
player.type
player.upperTorsoRotation
player.vehicle
player.velocity
player.visible
player.waitState
player.walkStyle
player.walkTo
player.wantedLevel
player.warpIntoVehicle
player.weapon
player.weapons
player.weaponSlot
player.weaponSlots
player.weaponState
Radar Functions
gta.radar.mapCenter
gta.radar.mapSize
gta.radar.mapSizeMultiplier
gta.radar.position
gta.radar.range
gta.radar.size
Radio Functions
gta.forceRadioChannel
gta.setRadioChannel
Reflection Functions
reflection.call
reflection.clone
reflection.createFunction
reflection.move
reflection.tostring
Renderware Functions
Resource Functions
findResourceByName
getResources
thisResource
resource.exports
resource.getExport
resource.isReady
resource.isStarted
resource.isStarting
resource.name
resource.restart
resource.start
resource.stop
Save Game Functions
Screen Functions
getScreenFromWorldPosition
getWorldFromScreenPosition
gta.aspectRatio
gta.height
gta.width
Script Functions
gta.getActiveScripts
gta.scriptCommand
gta.startNewScript
gta.terminateScript
SDL Functions
sdl.getKeyboardState
sdl.getKeyFromName
sdl.getKeyFromScancode
sdl.getKeyName
sdl.getModState
sdl.getScancodeFromKey
sdl.getScancodeFromName
sdl.getScancodeName
sdl.platform
sdl.setModState
sdl.ticks
Session Functions
Snow Functions
snow.addFlakes
snow.clearFlakes
snow.confetti
snow.enabled
snow.force
Sphere Functions
Stream Functions
stream.close
stream.length
stream.position
stream.readBytes
stream.readDouble
stream.readFloat
stream.readInt16
stream.readInt32
stream.readInt64
stream.readInt8
stream.readLine
stream.readString
stream.readUInt16
stream.readUInt32
stream.readUInt64
stream.readUInt8
stream.writeBytes
stream.writeDouble
stream.writeFloat
stream.writeInt16
stream.writeInt32
stream.writeInt64
stream.writeInt8
stream.writeString
stream.writeUInt16
stream.writeUInt32
stream.writeUInt64
stream.writeUInt8
TextReader Functions
textReader.close
textReader.loadText
textReader.readCharacter
textReader.readLine
Time Functions
gta.hasSeenTimerHelp
gta.startCountdownTimer
gta.stopTimer
gta.time.day
gta.time.hour
gta.time.minute
gta.time.minuteDuration
gta.time.second
gta.timer
gta.timeStep
Timer Functions
clearImmediate
clearInterval
clearTimeout
setImmediate
setInterval
setTimeout
Train Functions
getTrainCount
getTrains
gta.setTrainsEnabled
train.addOnXRotation
train.addOnZRotation
train.addUpgrade
train.affectedByGravity
train.alarm
train.alpha
train.appearance
train.beingCarriedByCrane
train.blow
train.boundingCentre
train.boundingMax
train.boundingMin
train.boundingRadius
train.centerOfMass
train.children
train.clearExistsFor
train.collisionBoxCount
train.collisionBoxes
train.collisionLineCount
train.collisionLines
train.collisionPower
train.collisionsEnabled
train.collisionSphereCount
train.collisionSpheres
train.collisionVertexCount
train.collisionVertices
train.colour1
train.colour2
train.colour3
train.colour4
train.derailed
train.dimension
train.direction
train.dirtLevel
train.distanceFromCentreOfMassToBaseOfModel
train.doorState
train.driveTo
train.drowned
train.enableGPS
train.engine
train.engineHealth
train.existsFor
train.fix
train.flipped
train.flyTo
train.gear
train.getComponentWorldPosition
train.getData
train.getDoorStatus
train.getLightStatus
train.getOccupant
train.getOccupants
train.getPanelStatus
train.getRotation
train.getSuspensionHeight
train.getWheelStatus
train.handlingIndex
train.hasRoof
train.heading
train.health
train.health
train.heightAboveRoad
train.horn
train.id
train.interior
train.inWater
train.isCreatedFor
train.island
train.isLocal
train.isOnScreen
train.isOwner
train.isSyncer
train.isType
train.lights
train.lightsStatus
train.livery
train.locked
train.lockedStatus
train.markAsNoLongerNeeded
train.mass
train.matrix
train.model
train.modelIndex
train.name
train.netFlags
train.onScreen
train.onSide
train.openTop
train.openTrunk
train.parent
train.petrolTankHealth
train.position
train.radioStation
train.removeAllData
train.removeData
train.removeUpgrade
train.resource
train.rotation
train.setCarCruiseSpeed
train.setCarMission
train.setColours
train.setData
train.setDoorStatus
train.setDrivingStyle
train.setExistsFor
train.setHazardLights
train.setLightStatus
train.setPaintJob
train.setPanelStatus
train.setProofs
train.setProofs
train.setRGBColours
train.setRotation
train.setSuspensionHeight
train.setSyncer
train.setWheelStatus
train.siren
train.speed
train.status
train.streamInDistance
train.streamOutDistance
train.subType
train.syncer
train.syncerId
train.taxiLight
train.track
train.trackPosition
train.turnVelocity
train.type
train.upsideDown
train.velocity
train.visible
train.wanderRandomly
Transformable Functions
Template:Client/Functions/Transformable
Vec2 Functions
vec2.addPolar
vec2.cartesianToPolar
vec2.extrapolate
vec2.interpolate
vec2.sphericalExtrapolate
vec2.sphericalInterpolate
vec2.x
vec2.y
Vec3 Functions
vec3.absDotProduct
vec3.addPolar
vec3.addSpherical
vec3.cartesianToPolar
vec3.cartesianToSpherical
vec3.crossProduct
vec3.distance
vec3.dotProduct
vec3.extrapolate
vec3.interpolate
vec3.length
vec3.midPoint
vec3.normalise
vec3.sphericalExtrapolate
vec3.sphericalInterpolate
vec3.squaredDistance
vec3.squaredLength
vec3.x
vec3.y
vec3.z
Vehicle Functions
createVehicle
getVehicleCount
getVehicles
gta.createVehicle
vehicle.addOnXRotation
vehicle.addOnZRotation
vehicle.addUpgrade
vehicle.affectedByGravity
vehicle.alarm
vehicle.alpha
vehicle.appearance
vehicle.beingCarriedByCrane
vehicle.blow
vehicle.boundingCentre
vehicle.boundingMax
vehicle.boundingMin
vehicle.boundingRadius
vehicle.centerOfMass
vehicle.children
vehicle.clearExistsFor
vehicle.collisionBoxCount
vehicle.collisionBoxes
vehicle.collisionLineCount
vehicle.collisionLines
vehicle.collisionPower
vehicle.collisionsEnabled
vehicle.collisionSphereCount
vehicle.collisionSpheres
vehicle.collisionVertexCount
vehicle.collisionVertices
vehicle.colour1
vehicle.colour2
vehicle.colour3
vehicle.colour4
vehicle.dimension
vehicle.dirtLevel
vehicle.distanceFromCentreOfMassToBaseOfModel
vehicle.driveTo
vehicle.drowned
vehicle.enableGPS
vehicle.engine
vehicle.engineHealth
vehicle.existsFor
vehicle.fix
vehicle.flipped
vehicle.flyTo
vehicle.gear
vehicle.getComponentWorldPosition
vehicle.getData
vehicle.getDoorStatus
vehicle.getLightStatus
vehicle.getOccupant
vehicle.getOccupants
vehicle.getPanelStatus
vehicle.getRotation
vehicle.getSuspensionHeight
vehicle.getWheelStatus
vehicle.handlingIndex
vehicle.hasRoof
vehicle.heading
vehicle.health
vehicle.health
vehicle.heightAboveRoad
vehicle.horn
vehicle.id
vehicle.interior
vehicle.inWater
vehicle.isCreatedFor
vehicle.island
vehicle.isLocal
vehicle.isOnScreen
vehicle.isOwner
vehicle.isSyncer
vehicle.isType
vehicle.lights
vehicle.lightsStatus
vehicle.livery
vehicle.locked
vehicle.lockedStatus
vehicle.markAsNoLongerNeeded
vehicle.mass
vehicle.matrix
vehicle.model
vehicle.modelIndex
vehicle.name
vehicle.netFlags
vehicle.onScreen
vehicle.onSide
vehicle.openTop
vehicle.openTrunk
vehicle.parent
vehicle.petrolTankHealth
vehicle.position
vehicle.radioStation
vehicle.removeAllData
vehicle.removeData
vehicle.removeUpgrade
vehicle.resource
vehicle.rotation
vehicle.setCarCruiseSpeed
vehicle.setCarMission
vehicle.setColours
vehicle.setData
vehicle.setDoorStatus
vehicle.setDrivingStyle
vehicle.setExistsFor
vehicle.setHazardLights
vehicle.setLightStatus
vehicle.setPaintJob
vehicle.setPanelStatus
vehicle.setProofs
vehicle.setProofs
vehicle.setRGBColours
vehicle.setRotation
vehicle.setSuspensionHeight
vehicle.setSyncer
vehicle.setWheelStatus
vehicle.siren
vehicle.status
vehicle.streamInDistance
vehicle.streamOutDistance
vehicle.subType
vehicle.syncer
vehicle.syncerId
vehicle.taxiLight
vehicle.turnVelocity
vehicle.type
vehicle.upsideDown
vehicle.velocity
vehicle.visible
vehicle.wanderRandomly
Weather Functions
World Functions
addToWorld
gta.findGroundZCoordinate
gta.findRoofZCoordinate
gta.gravity
gta.moonSize
removeFromWorld
XML Functions
xmlDocument.load
xmlDocument.rootElement
xmlElement.attributes
xmlElement.children
xmlElement.childrenCount
xmlElement.clear
xmlElement.getBoolAttribute
xmlElement.getFloatAttribute
xmlElement.getIntegerAttribute
xmlElement.getStringAttribute
xmlElement.name
xmlElement.parent
xmlElement.text