Client module (alt-client)
Index
Classes
- AreaBlip
- Audio
- AudioCategory
- AudioFilter
- AudioOutput
- AudioOutputAttached
- AudioOutputFrontend
- AudioOutputWorld
- BaseObject
- Blip
- Checkpoint
- Colshape
- ColshapeCircle
- ColshapeCuboid
- ColshapeCylinder
- ColshapePolygon
- ColshapeRectangle
- ColshapeSphere
- Discord
- Entity
- File
- FocusData
- Font
- HandlingData
- HttpClient
- LocalObject
- LocalPed
- LocalPlayer
- LocalStorage
- LocalVehicle
- MapZoomData
- Marker
- MemoryBuffer
- Object
- Ped
- Player
- PointBlip
- Profiler
- Quaternion
- RGBA
- RadiusBlip
- Resource
- RmlDocument
- RmlElement
- TextLabel
- Utils
- Vector2
- Vector3
- Vehicle
- VirtualEntity
- VirtualEntityGroup
- Voice
- WeaponData
- WeaponObject
- WebSocketClient
- WebView
- Worker
- WorldObject
Enumerations
- AudioCategories
- BaseObjectType
- BlipColor
- BlipSprite
- BlipType
- BodyPart
- CheckpointType
- ColShapeType
- ConfigFlag
- FileEncoding
- GameFont
- KeyCode
- Locale
- MarkerType
- ModelType
- PedConfigFlag
- Permission
- StatName
- TextAlign
- TextLabelAlignment
- VehicleIndicatorLights
- VehicleLockState
- VoiceConnectionState
- WatermarkPosition
- WebSocketReadyState
Functions
- addGxtText
- addVoiceFilter
- beginScaleformMovieMethodMinimap
- clearEveryTick
- clearInterval
- clearNextTick
- clearPedProp
- clearTimeout
- copyToClipboard
- deleteMeta
- doesConfigFlagExist
- emit
- emitRaw
- emitRpc
- emitServer
- emitServerRaw
- emitServerUnreliable
- evalModule
- everyTick
- gameControlsEnabled
- getAllResources
- getCamPos
- getConfigFlag
- getCursorPos
- getEventListeners
- getFps
- getGxtText
- getHeadshotBase64
- getLicenseHash
- getLocalMeta
- getLocale
- getMeta
- getMetaKeys
- getMsPerGameMinute
- getNetTime
- getPedBonePos
- getPermissionState
- getPing
- getPoolCount
- getPoolEntities
- getPoolSize
- getRemoteEventListeners
- getScreenResolution
- getServerIp
- getServerPort
- getServerTime
- getStat
- getSyncedMeta
- getSyncedMetaKeys
- getTotalPacketsLost
- getTotalPacketsSent
- getVoiceConnectionState
- getVoiceFilter
- getVoiceNonSpatialVolume
- getVoicePlayers
- getVoiceSpatialVolume
- hasLocalMeta
- hasMeta
- hasResource
- hasSyncedMeta
- hash
- isCamFrozen
- isConsoleOpen
- isCursorVisible
- isFullScreen
- isGameFocused
- isInStreamerMode
- isKeyDown
- isKeyToggled
- isMenuOpen
- isPointOnScreen
- isTextureExistInArchetype
- loadDefaultIpls
- loadModel
- loadModelAsync
- loadRmlFont
- loadYtyp
- log
- logDebug
- logError
- logWarning
- nextTick
- off
- offRpc
- offServer
- on
- onRpc
- onServer
- once
- onceServer
- removeGxtText
- removeIpl
- removeVoiceFilter
- removeVoicePlayer
- requestIpl
- resetMinimapComponentPosition
- resetStat
- rmlControlsEnabled
- screenToWorld
- setCamFrozen
- setConfigFlag
- setCursorPos
- setInterval
- setMeta
- setMinimapComponentPosition
- setMinimapIsRectangle
- setMsPerGameMinute
- setPedDlcClothes
- setPedDlcProp
- setRotationVelocity
- setStat
- setTimeout
- setVoiceNonSpatialVolume
- setVoiceSpatialVolume
- setWatermarkPosition
- setWeatherCycle
- setWeatherSyncActive
- showCursor
- stringToSHA256
- takeScreenshot
- takeScreenshotGameOnly
- time
- timeEnd
- toggleGameControls
- toggleRmlControls
- toggleVoiceControls
- unloadYtyp
- updateClipContext
- worldToScreen
Interfaces
- IClientEvent
- ICustomAudioMeta
- ICustomBaseObjectMeta
- ICustomBaseObjectSyncedMeta
- ICustomBlipMeta
- ICustomCheckpointMeta
- ICustomClientServerEvent
- ICustomClientServerRpc
- ICustomColshapeMeta
- ICustomEmitEvent
- ICustomEntityMeta
- ICustomEntityStreamSyncedMeta
- ICustomEntitySyncedMeta
- ICustomGlobalMeta
- ICustomGlobalSyncedMeta
- ICustomLocalPlayerMeta
- ICustomPedMeta
- ICustomPedStreamSyncedMeta
- ICustomPedSyncedMeta
- ICustomPlayerLocalMeta
- ICustomPlayerMeta
- ICustomPlayerStreamSyncedMeta
- ICustomPlayerSyncedMeta
- ICustomServerClientEvent
- ICustomServerClientRpc
- ICustomVehicleMeta
- ICustomVehicleStreamSyncedMeta
- ICustomVehicleSyncedMeta
- ICustomVirtualEntityStreamSyncedMeta
- ICustomWebViewMeta
- IDiscordUser
- IHeapStats
- IHttpResponse
- IInputDevice
- IInspectOptions
- IMarkerOptions
- IProfile
- IProfileCallFrame
- IProfileNode
- IProfileTickInfo
- IQuaternion
- IResource
- IResourceConfig
- ISyncInfo
- IVector2
- IVector3
- IVehicleHandling
- IWeapon
Namespaces
Variables
Variables
constbranch
constdebug
Returns if the resource is in debug mode.
constdefaultDimension
Default dimension (0). Read more: https://docs.altv.mp/articles/dimensions.html
constglobalDimension
Global dimension (-2147483648). Read more: https://docs.altv.mp/articles/dimensions.html
constisClient
A boolean indicating whether the current script is executed on the clientside.
constisServer
A boolean indicating whether the current script is executed on the serverside.
constresourceName
Resource name of the executing resource.
constsdkVersion
Represents the current SDK version.
constversion
Represents the current version.
Represents the current branch.