Template:ServerFunctions: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Game | |||
---- | |||
*[[GetGameVersion]] | *[[GetGameVersion]] | ||
*[[GetGameVersionString]] | *[[GetGameVersionString]] | ||
Colors | |||
---- | |||
*[[RGBA]] | *[[RGBA]] | ||
*[[RGB]] | *[[RGB]] | ||
*[[HexToRGBA]] | *[[HexToRGBA]] | ||
*[[HexToRGBAFloat]] | *[[HexToRGBAFloat]] | ||
Miscellaneous | |||
---- | |||
*[[Random]] | *[[Random]] | ||
*[[RandomFloat]] | *[[RandomFloat]] | ||
Line 17: | Line 20: | ||
*[[AddCommand]] | *[[AddCommand]] | ||
*[[AddFunctionExport]] | *[[AddFunctionExport]] | ||
Time | |||
---- | |||
*[[GetTimeSeconds]] | *[[GetTimeSeconds]] | ||
*[[GetDeltaSeconds]] | *[[GetDeltaSeconds]] | ||
*[[GetTickCount]] | *[[GetTickCount]] | ||
Server | |||
---- | |||
*[[GetServerTickRate]] | *[[GetServerTickRate]] | ||
*[[ServerExit]] | *[[ServerExit]] | ||
Line 27: | Line 32: | ||
*[[GetServerName]] | *[[GetServerName]] | ||
*[[GetMaxPlayers]] | *[[GetMaxPlayers]] | ||
Explosion | |||
---- | |||
*[[CreateExplosion]] | *[[CreateExplosion]] | ||
Door | |||
---- | |||
*[[IsValidDoor]] | *[[IsValidDoor]] | ||
*[[CreateDoor]] | *[[CreateDoor]] | ||
Line 42: | Line 49: | ||
*[[SetDoorDimension]] | *[[SetDoorDimension]] | ||
*[[GetDoorDimension]] | *[[GetDoorDimension]] | ||
Network | |||
---- | |||
*[[GetNetworkStats]] | *[[GetNetworkStats]] | ||
*[[DumpNetworkStats]] | *[[DumpNetworkStats]] | ||
NPC | |||
---- | |||
*[[SetNPCRagdoll]] | *[[SetNPCRagdoll]] | ||
*[[GetNPCSkeletalMeshComponent]] | *[[GetNPCSkeletalMeshComponent]] | ||
Line 70: | Line 79: | ||
*[[GetNPCActor]] | *[[GetNPCActor]] | ||
Object | |||
---- | |||
*[[GetObjectActor]] | *[[GetObjectActor]] | ||
*[[SetObjectDimension]] | *[[SetObjectDimension]] | ||
Line 98: | Line 108: | ||
*[[SetObjectRotateAxis]] | *[[SetObjectRotateAxis]] | ||
Package | |||
---- | |||
*[[ImportPackage]] | *[[ImportPackage]] | ||
*[[StartPackage]] | *[[StartPackage]] | ||
Line 105: | Line 116: | ||
*[[GetPackageName]] | *[[GetPackageName]] | ||
*[[IsPackageStarted]] | *[[IsPackageStarted]] | ||
Event | |||
---- | |||
*[[AddEvent]] | *[[AddEvent]] | ||
*[[CallEvent]] | *[[CallEvent]] | ||
*[[AddRemoteEvent]] | *[[AddRemoteEvent]] | ||
*[[CallRemoteEvent]] | *[[CallRemoteEvent]] | ||
Pickup | |||
---- | |||
*[[SetPickupDimension]] | *[[SetPickupDimension]] | ||
*[[GetPickupDimension]] | *[[GetPickupDimension]] | ||
Line 126: | Line 139: | ||
*[[GetPickupActor]] | *[[GetPickupActor]] | ||
Player | |||
---- | |||
*[[SetPlayerRagdoll]] | *[[SetPlayerRagdoll]] | ||
*[[SetPlayerOutline]] | *[[SetPlayerOutline]] | ||
Line 192: | Line 206: | ||
*[[GetPlayerActor]] | *[[GetPlayerActor]] | ||
Text3D | |||
---- | |||
*[[SetText3DDimension]] | *[[SetText3DDimension]] | ||
*[[GetText3DDimension]] | *[[GetText3DDimension]] | ||
Line 206: | Line 221: | ||
*[[SetText3DText]] | *[[SetText3DText]] | ||
Timer | |||
---- | |||
*[[Delay]] | *[[Delay]] | ||
*[[GetTimerCount]] | *[[GetTimerCount]] | ||
Line 217: | Line 233: | ||
*[[UnpauseTimer]] | *[[UnpauseTimer]] | ||
*[[GetTimerRemainingTime]] | *[[GetTimerRemainingTime]] | ||
Vehicles | |||
---- | |||
*[[GetVehicleLicensePlate]] | *[[GetVehicleLicensePlate]] | ||
*[[SetVehicleDimension]] | *[[SetVehicleDimension]] |
Revision as of 11:42, 26 December 2019
Game
Colors
Miscellaneous
- Random
- RandomFloat
- Base64Encode
- Base64Decode
- GetDistance2D
- GetDistance3D
- AddCommand
- AddFunctionExport
Time
Server
Explosion
Door
- IsValidDoor
- CreateDoor
- DestroyDoor
- SetDoorOpen
- IsDoorOpen
- GetAllDoors
- GetDoorCount
- GetDoorModel
- SetDoorLocation
- GetDoorLocation
- SetDoorDimension
- GetDoorDimension
Network
NPC
- SetNPCRagdoll
- GetNPCSkeletalMeshComponent
- SetNPCDimension
- GetNPCDimension
- SetNPCPropertyValue
- GetNPCPropertyValue
- CreateNPC
- DestroyNPC
- IsValidNPC
- GetAllNPC
- GetNPCCount
- IsNPCStreamedIn
- SetNPCLocation
- GetNPCLocation
- SetNPCHealth
- GetNPCHealth
- SetNPCAnimation
- SetNPCHeading
- GetNPCHeading
- SetNPCTargetLocation
- SetNPCFollowPlayer
- SetNPCFollowVehicle
- GetNPCActor
Object
- GetObjectActor
- SetObjectDimension
- GetObjectDimension
- SetObjectPropertyValue
- GetObjectPropertyValue
- CreateObject
- DestroyObject
- IsValidObject
- GetObjectCount
- GetObjectModel
- IsObjectStreamedIn
- SetObjectStreamDistance
- SetObjectLocation
- GetObjectLocation
- SetObjectRotation
- GetObjectRotation
- SetObjectScale
- GetObjectScale
- SetObjectAttached
- SetObjectDetached
- IsObjectAttached
- GetObjectAttachmentInfo
- IsObjectMoving
- SetObjectMoveTo
- StopObjectMove
- SetObjectRotateAxis
Package
Event
Pickup
- SetPickupDimension
- GetPickupDimension
- SetPickupPropertyValue
- GetPickupPropertyValue
- SetPickupVisibleForPlayers
- GetPickupCount
- GetAllPickups
- CreatePickup
- DestroyPickup
- IsValidPickup
- SetPickupScale
- GetPickupScale
- SetPickupVisibility
- GetPickupActor
Player
- SetPlayerRagdoll
- SetPlayerOutline
- SetPlayerDimension
- GetPlayerDimension
- SetPlayerPropertyValue
- GetPlayerPropertyValue
- IsValidPlayer
- GetPlayerCount
- GetAllPlayers
- GetNearestPlayer2D
- GetPlayersInRange2D
- GetPlayersInRange3D
- GetStreamedPlayersForPlayer
- SetPlayerName
- GetPlayerName
- GetPlayerSteamId
- GetPlayerNetworkStats
- SetPlayerSpawnLocation
- IsPlayerStreamedIn
- SetPlayerVoiceEnabled
- IsPlayerVoiceEnabled
- IsPlayerTalking
- SetPlayerVoiceDimension
- AddPlayerChat
- AddPlayerChatRange
- AddPlayerChatAll
- GetPlayerState
- GetPlayerMovementMode
- GetPlayerMovementSpeed
- IsPlayerAiming
- IsPlayerReloading
- 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
- GetPlayerActor
Text3D
- SetText3DDimension
- GetText3DDimension
- SetText3DPropertyValue
- GetText3DPropertyValue
- GetText3DCount
- GetAllText3D
- CreateText3D
- DestroyText3D
- IsValidText3D
- SetText3DAttached
- SetText3DVisibility
- SetText3DText
Timer
- Delay
- GetTimerCount
- GetAllTimers
- IsValidTimer
- CreateTimer
- CreateCountTimer
- DestroyTimer
- PauseTimer
- UnpauseTimer
- GetTimerRemainingTime
Vehicles
- GetVehicleLicensePlate
- SetVehicleDimension
- GetVehicleDimension
- SetVehiclePropertyValue
- GetVehiclePropertyValue
- 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
- GetVehicleActor