Template:ServerFunctions: Difference between revisions
From Onset Developer Wiki
Line 250: | Line 250: | ||
*[[GetVehicleDamage]] | *[[GetVehicleDamage]] | ||
*[[AttachVehicleNitro]] | *[[AttachVehicleNitro]] | ||
*[[GetVehicleActor]] |
Revision as of 08:59, 20 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
- SetNPCDimension
- GetNPCDimension
- SetNPCPropertyValue
- GetNPCPropertyValue
- CreateNPC
- DestroyNPC
- IsValidNPC
- GetAllNPC
- GetNPCCount
- IsNPCStreamedIn
- SetNPCLocation
- GetNPCLocation
- SetNPCHealth
- GetNPCHealth
- SetNPCAnimation
- SetNPCHeading
- GetNPCHeading
- SetNPCTargetLocation
- SetNPCFollowPlayer
- SetNPCFollowVehicle
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
Player
- 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
Text3D
- SetText3DDimension
- GetText3DDimension
- SetText3DPropertyValue
- GetText3DPropertyValue
- GetText3DCount
- GetAllText3D
- CreateText3D
- DestroyText3D
- IsValidText3D
- SetText3DAttached
- SetText3DVisibility
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