Template:ServerFunctions: Difference between revisions

From Onset Developer Wiki
No edit summary
 
(68 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===
*[[GetGameVersion]]
*[[GetGameVersionString]]
*[[IsServer]]
*[[IsClient]]
* [[AddWebUIWhitelist]]
===Colors===
*[[RGBA]]
*[[RGBA]]
*[[RGB]]
*[[RGB]]
*[[HexToRGBA]]
*[[HexToRGBA]]
*[[HexToRGBAFloat]]
===Miscellaneous===
*[[Random]]
*[[Random]]
*[[RandomFloat]]
*[[RandomFloat]]
*[[Base64Encode]]
*[[Base64Encode]]
*[[Base64Decode]]
*[[Base64Decode]]
*[[GetDistance2D]]
*[[GetDistance3D]]
*[[Lerp]]
*[[LerpVector]]
*[[AddCommand]]
*[[AddFunctionExport]]
* [[GetServerPath]]
* [[GetFilesInDirectory]]
* [[GetDirectoriesInDirectory]]
* [[SteamId64ToSteamId3]]
* [[SteamId3ToSteamId64]]
===Time===
*[[GetTimeSeconds]]
*[[GetTimeSeconds]]
*[[GetDeltaSeconds]]
*[[GetDeltaSeconds]]
*[[GetTickCount]]
*[[GetTickCount]]
*[[GetGameVersion]]
 
*[[GetGameVersionString]]
===Server===
*[[GetServerTickRate]]
*[[GetServerTickRate]]
*[[ServerExit]]
*[[ServerExit]]
Line 16: Line 55:
*[[GetServerName]]
*[[GetServerName]]
*[[GetMaxPlayers]]
*[[GetMaxPlayers]]
*[[GetDistance2D]]
 
*[[GetDistance3D]]
===Explosion===
*[[CreateExplosion]]
*[[CreateExplosion]]
*[[GetLightCount]]
 
*[[GetAllLights]]
===Door===
*[[CreateLight]]
*[[IsValidDoor]]
*[[DestroyLight]]
*[[CreateDoor]]
*[[IsValidLight]]
*[[DestroyDoor]]
*[[CancelConnectionRequest]]
*[[SetDoorOpen]]
*[[IsDoorOpen]]
*[[GetAllDoors]]
*[[GetDoorCount]]
*[[GetDoorModel]]
*[[SetDoorLocation]]
*[[GetDoorLocation]]
*[[SetDoorDimension]]
*[[GetDoorDimension]]
*[[GetDoorPropertyValue]]
*[[SetDoorPropertyValue]]
 
===Network===
*[[GetNetworkStats]]
*[[GetNetworkStats]]
*[[DumpNetworkStats]]
 
===NPC===
*[[SetNPCRagdoll]]
*[[SetNPCDimension]]
*[[GetNPCDimension]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[CreateNPC]]
*[[CreateNPC]]
*[[DestroyNPC]]
*[[DestroyNPC]]
Line 33: Line 90:
*[[GetNPCCount]]
*[[GetNPCCount]]
*[[IsNPCStreamedIn]]
*[[IsNPCStreamedIn]]
*[[GetNPCModel]]
*[[SetNPCLocation]]
*[[SetNPCLocation]]
*[[GetNPCLocation]]
*[[GetNPCLocation]]
*[[SetNPCHealth]]
*[[GetNPCHealth]]
*[[GetNPCHealth]]
*[[SetNPCAnimation]]
*[[SetNPCAnimation]]
Line 43: Line 100:
*[[SetNPCFollowPlayer]]
*[[SetNPCFollowPlayer]]
*[[SetNPCFollowVehicle]]
*[[SetNPCFollowVehicle]]
*[[CreateObject]]
 
*[[DestroyObject]]
===Object===
*[[IsValidObject]]
{{Template:ServerObjectFunctions}}
*[[GetObjectCount]]
 
*[[GetObjectModel]]
===Package===
*[[IsObjectStreamedIn]]
*[[ImportPackage]]
*[[SetObjectStreamDistance]]
*[[StartPackage]]
*[[SetObjectLocation]]
*[[StopPackage]]
*[[GetObjectLocation]]
*[[GetAllPackages]]
*[[SetObjectRotation]]
*[[GetPackageFiles]]
*[[GetObjectRotation]]
*[[GetPackageName]]
*[[SetObjectScale]]
*[[IsPackageStarted]]
*[[GetObjectScale]]
 
*[[SetObjectAttached]]
===Event===
*[[SetObjectDetached]]
*[[IsObjectAttached]]
*[[GetObjectAttachmentInfo]]
*[[IsObjectMoving]]
*[[SetObjectMoveTo]]
*[[StopObjectMove]]
*[[SetObjectRotateAxis]]
*[[SetObjectColor]]
*[[SetObjectTexture]]
*[[SetObjectAnimatedTexture]]
*[[AddEvent]]
*[[AddEvent]]
*[[CallEvent]]
*[[CallEvent]]
*[[AddRemoteEvent]]
*[[AddRemoteEvent]]
*[[AddCommand]]
*[[CallRemoteEvent]]
*[[GetAllPackages]]
*[[BroadcastRemoteEvent]]
 
===Pickup===
*[[SetPickupDimension]]
*[[GetPickupDimension]]
*[[SetPickupPropertyValue]]
*[[GetPickupPropertyValue]]
*[[SetPickupVisibleForPlayers]]
*[[GetPickupCount]]
*[[GetPickupCount]]
*[[GetAllPickups]]
*[[GetAllPickups]]
Line 79: Line 133:
*[[SetPickupScale]]
*[[SetPickupScale]]
*[[GetPickupScale]]
*[[GetPickupScale]]
*[[IsValidPlayer]]
*[[SetPickupVisibility]]
*[[CallRemoteEvent]]
*[[SetPickupLocation]]
*[[GetPlayerCount]]
 
*[[GetAllPlayers]]
===Player===
*[[GetNearestPlayer2D]]
{{ServerPlayerFunctions}}
*[[GetPlayersInRange2D]]
 
*[[GetPlayersInRange3D]]
===Text3D===
*[[GetStreamedPlayersForPlayer]]
*[[SetText3DDimension]]
*[[GetPlayerName]]
*[[GetText3DDimension]]
*[[GetPlayerNetworkStats]]
*[[SetText3DPropertyValue]]
*[[SetPlayerSpawnLocation]]
*[[GetText3DPropertyValue]]
*[[IsPlayerStreamedIn]]
*[[SetPlayerVoiceEnabled]]
*[[IsPlayerVoiceEnabled]]
*[[IsPlayerTalking]]
*[[AddPlayerChat]]
*[[AddPlayerChatRange]]
*[[AddPlayerChatAll]]
*[[GetPlayerState]]
*[[GetPlayerMovementMode]]
*[[GetPlayerMovementSpeed]]
*[[IsPlayerAiming]]
*[[IsPlayerReloading]]
*[[GetPlayerVehicle]]
*[[GetPlayerVehicleSeat]]
*[[SetPlayerInVehicle]]
*[[RemovePlayerFromVehicle]]
*[[SetPlayerLocation]]
*[[GetPlayerLocation]]
*[[SetPlayerWeaponStat]]
*[[AddPlayerWeapon]]
*[[GetPlayerWeapon]]
*[[GetPlayerEquippedWeaponSlot]]
*[[EquipPlayerWeaponSlot]]
*[[GetPlayerEquippedWeapon]]
*[[ResetPlayerWeapon]]
*[[CancelPlayerWeaponShot]]
*[[CancelChatCommand]]
*[[SetPlayerHeading]]
*[[GetPlayerHeading]]
*[[SetPlayerSpectate]]
*[[ResetPlayerCamera]]
*[[IsPlayerDead]]
*[[SetPlayerHealth]]
*[[GetPlayerHealth]]
*[[SetPlayerArmor]]
*[[GetPlayerArmor]]
*[[SetPlayerRespawnTime]]
*[[GetPlayerRespawnTime]]
*[[SetPlayerModel]]
*[[GetPlayerModel]]
*[[GetPlayerIP]]
*[[GetPlayerPing]]
*[[KickPlayer]]
*[[GetPlayerLocale]]
*[[GetPlayerGUID]]
*[[GetPlayerGameVersion]]
*[[SetPlayerAnimation]]
*[[AttachPlayerParachute]]
*[[SetPlayerHeadSize]]
*[[GetPlayerHeadSize]]
*[[GetText3DCount]]
*[[GetText3DCount]]
*[[GetAllText3D]]
*[[GetAllText3D]]
Line 145: Line 149:
*[[DestroyText3D]]
*[[DestroyText3D]]
*[[IsValidText3D]]
*[[IsValidText3D]]
*[[SetText3DAttached]]
*[[SetText3DVisibility]]
*[[SetText3DText]]
*[[GetText3DText]]
===Timer===
*[[Delay]]
*[[GetTimerCount]]
*[[GetTimerCount]]
*[[GetAllTimers]]
*[[GetAllTimers]]
Line 154: Line 165:
*[[UnpauseTimer]]
*[[UnpauseTimer]]
*[[GetTimerRemainingTime]]
*[[GetTimerRemainingTime]]
===Vehicles===
*[[GetVehicleLicensePlate]]
*[[SetVehicleDimension]]
*[[GetVehicleDimension]]
*[[SetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
*[[GetVehicleCount]]
*[[GetVehicleCount]]
*[[GetAllVehicles]]
*[[GetAllVehicles]]
Line 179: Line 197:
*[[SetVehicleColor]]
*[[SetVehicleColor]]
*[[GetVehicleColor]]
*[[GetVehicleColor]]
*[[GetVehicleInteriorColor]]
*[[SetVehicleLinearVelocity]]
*[[SetVehicleLinearVelocity]]
*[[SetVehicleAngularVelocity]]
*[[SetVehicleAngularVelocity]]
Line 192: Line 209:
*[[SetVehicleLightEnabled]]
*[[SetVehicleLightEnabled]]
*[[GetVehicleLightState]]
*[[GetVehicleLightState]]
*[[GetVehicleLightColor]]
*[[SetVehicleDamage]]
*[[SetVehicleDamage]]
*[[GetVehicleDamage]]
*[[GetVehicleDamage]]
*[[AttachVehicleNitro]]
*[[AttachVehicleNitro]]
*[[SetPlayerDimension]]
*[[EnableVehicleBackfire]]
*[[SetVehicleDimension]]
 
*[[SetObjectDimension]]
===HTTP===
*[[SetLightDimension]]
{{Template:HttpFunctions}}
*[[SetPickupDimension]]
*[[SetText3DDimension]]
*[[SetNPCDimension]]
*[[GetPlayerDimension]]
*[[GetVehicleDimension]]
*[[GetObjectDimension]]
*[[GetLightDimension]]
*[[GetPickupDimension]]
*[[GetText3DDimension]]
*[[GetNPCDimension]]

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