Template:ServerFunctions: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===index.lua===
* [[AddServerScript]]
* [[AddClientScript]]
* [[AddSharedScript]]
* [[AddFile]]
* [[AddWebUIWhitelist]]
* [[GetServerPath]]
* [[GetFilesInDirectory]]
* [[GetDirectoriesInDirectory]]
*[[Base64Encode]]
*[[Base64Decode]]
*[[GetGameVersion]]
*[[GetGameVersionString]]


===Game===
===Game===
*[[GetGameVersion]]
*[[GetGameVersion]]
*[[GetGameVersionString]]
*[[GetGameVersionString]]
*[[IsServer]]
*[[IsClient]]
* [[AddWebUIWhitelist]]


===Colors===
===Colors===
Line 18: Line 34:
*[[GetDistance2D]]
*[[GetDistance2D]]
*[[GetDistance3D]]
*[[GetDistance3D]]
*[[Lerp]]
*[[LerpVector]]
*[[AddCommand]]
*[[AddCommand]]
*[[AddFunctionExport]]
*[[AddFunctionExport]]
* [[GetServerPath]]
* [[GetFilesInDirectory]]
* [[GetDirectoriesInDirectory]]
* [[SteamId64ToSteamId3]]
* [[SteamId3ToSteamId64]]


===Time===
===Time===
Line 49: Line 72:
*[[SetDoorDimension]]
*[[SetDoorDimension]]
*[[GetDoorDimension]]
*[[GetDoorDimension]]
*[[GetDoorPropertyValue]]
*[[SetDoorPropertyValue]]


===Network===
===Network===
*[[GetNetworkStats]]
*[[GetNetworkStats]]
*[[DumpNetworkStats]]


===NPC===
===NPC===
Line 78: Line 102:


===Object===
===Object===
*[[SetObjectDimension]]
{{Template:ServerObjectFunctions}}
*[[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===
===Package===
Line 109: Line 109:
*[[StopPackage]]
*[[StopPackage]]
*[[GetAllPackages]]
*[[GetAllPackages]]
*[[GetPackageFiles]]
*[[GetPackageName]]
*[[GetPackageName]]
*[[IsPackageStarted]]
*[[IsPackageStarted]]
Line 117: Line 118:
*[[AddRemoteEvent]]
*[[AddRemoteEvent]]
*[[CallRemoteEvent]]
*[[CallRemoteEvent]]
*[[BroadcastRemoteEvent]]


===Pickup===
===Pickup===
Line 132: Line 134:
*[[GetPickupScale]]
*[[GetPickupScale]]
*[[SetPickupVisibility]]
*[[SetPickupVisibility]]
*[[SetPickupLocation]]


===Player===
===Player===
*[[SetPlayerRagdoll]]
{{ServerPlayerFunctions}}
*[[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===
===Text3D===
Line 210: Line 152:
*[[SetText3DVisibility]]
*[[SetText3DVisibility]]
*[[SetText3DText]]
*[[SetText3DText]]
*[[GetText3DText]]


===Timer===
===Timer===
Line 266: Line 209:
*[[SetVehicleLightEnabled]]
*[[SetVehicleLightEnabled]]
*[[GetVehicleLightState]]
*[[GetVehicleLightState]]
*[[GetVehicleLightColor]]
*[[SetVehicleDamage]]
*[[SetVehicleDamage]]
*[[GetVehicleDamage]]
*[[GetVehicleDamage]]
*[[AttachVehicleNitro]]
*[[AttachVehicleNitro]]
*[[EnableVehicleBackfire]]
===HTTP===
{{Template:HttpFunctions}}

Latest revision as of 13:59, 10 November 2021

index.lua

Game

Colors

Miscellaneous

Time

Server

Explosion

Door

Network

NPC

Object

Package

Event

Pickup

Player

Text3D

Timer

Vehicles

HTTP