Template:ClientFunctions
From Onset Developer Wiki
- DoesPakExist
- LoadPak
- ReplaceObjectModelMesh
- GetAllCollisions
- CreateCollisionBox
- CreateCollisionSphere
- DestroyCollision
- GetGameVersion
- IsGameDevMode
- RGBA
- RGB
- HexToRGBA
- Random
- RandomFloat
- Base64Encode
- Base64Decode
- GetDistance2D
- GetDistance3D
- GetDistanceSquared3D
- VectorToRotation
- RotationToVector
- NormalizeVector
- IsFloatNearlyZero
- RandomUnitVectorInCone
- RandomUnitVectorInEllipticalCone
- GetTickCount
- GetTimeSeconds
- GetDeltaSeconds
- GetMouseHitLocation
- GetMouseHitEntity
- IsPlayerInMainMenu
- InvokeDamageFX
- GetPlayerFOV
- SetPlayerFOV
- SetCameraViewDistance
- GetCameraViewDistance
- SetCameraLocation
- SetCameraRotation
- SetPlayerRotationRate
- GetPlayerRotationRate
- GetPlayerWeapon
- GetWeaponType
- GetPlayerBoneNames
- LineTrace
- GetAllPlayersInSphere
- GetAllPlayersInBox
- GetTerrainHeight
- EnableFirstPersonCamera
- IsFirstPersonCamera
- StartCameraFade
- StopCameraFade
- PlayCameraShake
- StopCameraShake
- SetCameraShakeLocation
- SetCameraShakeRotation
- SetCameraShakeFOV
- GetScreenSize
- GetCameraLocation
- GetCameraRotation
- GetCameraForwardVector
- GetCameraRightVector
- GetCameraUpVector
- GetInputAxisValue
- SetWaypoint
- CreateFireworks
- GetPackageName
- AddPlayerChat
- ShowChat
- SetChatLocation
- GetChatLocation
- ShowWeaponHUD
- ShowHealthHUD
- SetPostEffect
- AddPostProcessMaterial
- RemovePostProcessMaterial
- DrawText
- SetDrawColor
- SetTextDrawScale
- GetTextSize
- DrawLine
- DrawLine3D
- DrawPoint3D
- DrawCircle3D
- DrawBox
- DrawRect
- DrawTexture
- DrawTextureEx
- WorldToScreen
- ScreenToWorld
- CreateTextBox
- DestroyTextBox
- SetTextBoxAnchors
- SetTextBoxAlignment
- SetTextBoxText
- IsChatFocus
- SetOceanWaterLevel
- SetOceanColor
- ResetOceanColor
- ShowMouseCursor
- SetInputMode
- IsMouseCursorEnabled
- GetMouseLocation
- GetMouseInputDelta
- DeprojectMouseLocationToWorld
- SetTime
- GetTime
- SetSkySaturation
- SetSunRadius
- SetSunShine
- SetSunAzimuth
- SetStarsBrightness
- SetMoonRadius
- SetMoonShine
- SetFogDensity
- SetSunLightIntensity
- SetSkyLightIntensity
- SetMoonLightIntensity
- SetSkyRotationSpeed
- SetWeather
- GetLightCount
- GetStreamedLights
- GetLightLocation
- GetPing
- GetNetworkStats
- GetNPCCount
- GetStreamedNPC
- GetNPCLocation
- SetNPCOutline
- GetObjectCount
- GetObjectModelCount
- GetObjectModelGroup
- GetObjectModelName
- GetStreamedObjects
- GetObjectModel
- GetObjectLocation
- GetObjectRotation
- GetObjectScale
- GetObjectBoundingBox
- GetObjectSize
- EnableObjectHitEvents
- GetObjectMass
- SetObjectEditorSpeed
- SetObjectEditable
- SetObjectOutline
- SetObjectCastShadow
- SetObjectColor
- SetObjectEmissiveColor
- SetObjectTexture
- SetObjectAnimatedTexture
- ImportPackage
- AddFunctionExport
- AddEvent
- CallEvent
- AddRemoteEvent
- CallRemoteEvent
- GetPickupCount
- GetStreamedPickups
- GetPickupLocation
- GetPlayerCount
- IsValidPlayer
- GetStreamedPlayers
- GetPlayerLocation
- GetPlayerHeading
- IsPlayerTalking
- GetPlayerHealth
- GetPlayerArmor
- GetPlayerMovementMode
- GetPlayerMovementSpeed
- IsPlayerAiming
- IsPlayerReloading
- IsPlayerDead
- GetPlayerBoneLocation
- SetPlayerOutline
- IsPlayerInVehicle
- GetPlayerForwardVector
- GetPlayerRightVector
- GetPlayerUpVector
- IsValidDoor
- GetDoorCount
- GetDoorLocation
- GetStreamedDoors
- GetSoundCount
- IsValidSound
- CreateSound
- CreateSound3D
- SetSound3DLocation
- GetSound3DLocation
- DestroySound
- GetAllSounds
- SetSoundVolume
- GetSoundVolume
- SetSoundPitch
- GetSoundPitch
- SetSoundFadeIn
- SetSoundFadeOut
- GetSoundDuration
- GetText3DCount
- GetStreamedText3D
- GetText3DLocation
- GetTimerCount
- GetAllTimers
- IsValidTimer
- CreateTimer
- CreateCountTimer
- DestroyTimer
- PauseTimer
- UnpauseTimer
- GetTimerRemainingTime
- GetVehicleCount
- GetVehicleLicensePlate
- IsValidVehicle
- GetStreamedVehicles
- GetVehicleBoneLocation
- GetVehicleBoneNames
- GetVehicleModel
- GetVehicleLocation
- GetVehicleRotation
- GetVehicleVelocity
- GetVehicleForwardVector
- GetVehicleRightVector
- GetVehicleUpVector
- GetVehicleBoundingBox
- GetVehicleEngineRPM
- GetVehicleForwardSpeed
- GetVehicleGear
- GetVehicleWheelSurface
- IsVehicleWheelInAir
- IsVehicleInAir
- GetVehicleWheelSteerAngle
- IsVehicleHornActive
- GetVehicleEngineState
- GetVehicleLightState
- GetVehicleHoodRatio
- GetVehicleTrunkRatio
- IsVehicleInWater
- IsVehicleSeatOccupied
- GetVehicleDoorLocation
- GetVehicleHealth
- GetWebUICount
- CreateWebUI
- CreateWebUI3D
- CreateRemoteWebUI
- CreateRemoteWebUI3D
- DestroyWebUI
- GetAllWebUI
- SetWebVisibility
- GetWebVisibility
- SetWebURL
- LoadWebFile
- ExecuteWebJS
- SetWebLocation
- SetWebRotation
- SetWebSize
- SetWebAlignment
- SetWebAnchors
- IsCtrlPressed
- IsShiftPressed
- IsAltPressed
- IsCmdPressed
- SetIgnoreMoveInput
- SetIgnoreLookInput
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- SetVehiclePropertyValue
- GetVehiclePropertyValue
- SetObjectPropertyValue
- GetObjectPropertyValue
- SetNPCPropertyValue
- GetNPCPropertyValue
- SetText3DPropertyValue
- GetText3DPropertyValue
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetControlRotation
- Delay
- ConnectToServer