@altv/types-shared
Index
Classes
Enumerations
Functions
- clearEveryTick
- clearInterval
- clearNextTick
- clearTimeout
- deleteMeta
- emit
- emitRaw
- everyTick
- getAllResources
- getEventListeners
- getMeta
- getMetaKeys
- getNetTime
- getSyncedMeta
- getSyncedMetaKeys
- getVoiceConnectionState
- hasMeta
- hasResource
- hasSyncedMeta
- hash
- log
- logDebug
- logError
- logWarning
- nextTick
- off
- on
- once
- setInterval
- setMeta
- setTimeout
- stringToSHA256
- time
- timeEnd
Interfaces
- ICustomBaseObjectMeta
- ICustomBaseObjectSyncedMeta
- ICustomClientServerEvent
- ICustomClientServerRpc
- ICustomEntityStreamSyncedMeta
- ICustomEntitySyncedMeta
- ICustomGlobalMeta
- ICustomGlobalSyncedMeta
- ICustomPedStreamSyncedMeta
- ICustomPedSyncedMeta
- ICustomPlayerLocalMeta
- ICustomPlayerStreamSyncedMeta
- ICustomPlayerSyncedMeta
- ICustomServerClientEvent
- ICustomServerClientRpc
- ICustomVehicleStreamSyncedMeta
- ICustomVehicleSyncedMeta
- ICustomVirtualEntityStreamSyncedMeta
- IInspectOptions
- IQuaternion
- IResource
- IResourceConfig
- IVector2
- IVector3
- 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.