Template:ServerFunctions
From Onset Developer Wiki
- RGBA
- RGB
- HexToRGBA
- Random
- RandomFloat
- Base64Encode
- Base64Decode
- GetTimeSeconds
- GetDeltaSeconds
- GetTickCount
- GetGameVersion
- GetGameVersionString
- GetServerTickRate
- ServerExit
- SetServerName
- GetServerName
- GetMaxPlayers
- GetDistance2D
- GetDistance3D
- CreateExplosion
- IsValidDoor
- CreateDoor
- DestroyDoor
- SetDoorOpen
- IsDoorOpen
- GetAllDoors
- GetDoorCount
- GetDoorModel
- SetDoorLocation
- GetDoorLocation
- SetDoorDimension
- GetDoorDimension
- GetNetworkStats
- DumpNetworkStats
- CreateNPC
- DestroyNPC
- IsValidNPC
- GetAllNPC
- GetNPCCount
- IsNPCStreamedIn
- SetNPCLocation
- GetNPCLocation
- SetNPCHealth
- GetNPCHealth
- SetNPCAnimation
- SetNPCHeading
- GetNPCHeading
- SetNPCTargetLocation
- SetNPCFollowPlayer
- SetNPCFollowVehicle
- CreateObject
- DestroyObject
- IsValidObject
- GetObjectCount
- GetObjectModel
- IsObjectStreamedIn
- SetObjectStreamDistance
- SetObjectLocation
- GetObjectLocation
- SetObjectRotation
- GetObjectRotation
- SetObjectScale
- GetObjectScale
- SetObjectAttached
- SetObjectDetached
- IsObjectAttached
- GetObjectAttachmentInfo
- IsObjectMoving
- SetObjectMoveTo
- StopObjectMove
- SetObjectRotateAxis
- ImportPackage
- AddFunctionExport
- AddEvent
- CallEvent
- AddRemoteEvent
- AddCommand
- StartPackage
- StopPackage
- GetAllPackages
- GetPackageName
- IsPackageStarted
- SetPickupVisibleForPlayers
- GetPickupCount
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- IsValidPlayer
- CallRemoteEvent
- GetPlayerCount
- GetAllPlayers
- GetNearestPlayer2D
- GetPlayersInRange2D
- GetPlayersInRange3D
- GetStreamedPlayersForPlayer
- SetPlayerName
- GetPlayerName
- GetPlayerSteamId
- GetPlayerNetworkStats
- SetPlayerSpawnLocation
- IsPlayerStreamedIn
- SetPlayerVoiceEnabled
- IsPlayerVoiceEnabled
- IsPlayerTalking
- SetPlayerVoiceDimension
- AddPlayerChat
- AddPlayerChatRange
- AddPlayerChatAll
- GetPlayerState
- GetPlayerMovementMode
- GetPlayerMovementSpeed
- IsPlayerAiming
- IsPlayerReloading
- GetVehicleLicensePlate
- GetPlayerVehicle
- GetPlayerVehicleSeat
- SetPlayerInVehicle
- RemovePlayerFromVehicle
- SetPlayerLocation
- GetPlayerLocation
- SetPlayerWeaponStat
- SetPlayerWeapon
- GetPlayerWeapon
- GetPlayerEquippedWeaponSlot
- EquipPlayerWeaponSlot
- GetPlayerEquippedWeapon
- SetPlayerHeading
- GetPlayerHeading
- SetPlayerSpectate
- IsPlayerDead
- SetPlayerHealth
- GetPlayerHealth
- SetPlayerArmor
- GetPlayerArmor
- SetPlayerRespawnTime
- GetPlayerRespawnTime
- GetPlayerIP
- GetPlayerPing
- KickPlayer
- GetPlayerLocale
- GetPlayerGUID
- GetPlayerGameVersion
- SetPlayerAnimation
- AttachPlayerParachute
- SetPlayerHeadSize
- GetPlayerHeadSize
- GetText3DCount
- GetAllText3D
- CreateText3D
- DestroyText3D
- IsValidText3D
- SetText3DAttached
- GetTimerCount
- GetAllTimers
- IsValidTimer
- CreateTimer
- CreateCountTimer
- DestroyTimer
- PauseTimer
- UnpauseTimer
- GetTimerRemainingTime
- GetVehicleCount
- GetAllVehicles
- GetVehicleModel
- GetVehicleModelName
- SetVehicleRespawnParams
- IsVehicleStreamedIn
- GetStreamedVehiclesForPlayer
- SetVehicleLocation
- GetVehicleLocation
- SetVehicleRotation
- GetVehicleRotation
- SetVehicleHeading
- GetVehicleHeading
- SetVehicleHealth
- GetVehicleHealth
- SetVehicleLicensePlate
- GetVehicleVelocity
- CreateVehicle
- DestroyVehicle
- IsValidVehicle
- GetVehicleDriver
- GetVehiclePassenger
- GetVehicleNumberOfSeats
- SetVehicleColor
- GetVehicleColor
- SetVehicleLinearVelocity
- SetVehicleAngularVelocity
- GetVehicleGear
- SetVehicleHoodRatio
- GetVehicleHoodRatio
- SetVehicleTrunkRatio
- GetVehicleTrunkRatio
- StartVehicleEngine
- StopVehicleEngine
- GetVehicleEngineState
- SetVehicleLightEnabled
- GetVehicleLightState
- GetVehicleLightColor
- SetVehicleDamage
- GetVehicleDamage
- AttachVehicleNitro
- SetPlayerDimension
- SetVehicleDimension
- SetObjectDimension
- SetPickupDimension
- SetText3DDimension
- SetNPCDimension
- GetPlayerDimension
- GetVehicleDimension
- GetObjectDimension
- GetPickupDimension
- GetText3DDimension
- GetNPCDimension
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- SetVehiclePropertyValue
- GetVehiclePropertyValue
- SetObjectPropertyValue
- GetObjectPropertyValue
- SetNPCPropertyValue
- GetNPCPropertyValue
- SetText3DPropertyValue
- GetText3DPropertyValue
- SetPickupPropertyValue
- GetPickupPropertyValue
- Delay