Template:ServerFunctions: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Game ==
 
===index.lua===
* [[AddServerScript]]
* [[AddClientScript]]
* [[AddSharedScript]]
* [[AddFile]]
* [[AddWebUIWhitelist]]
* [[GetServerPath]]
* [[GetFilesInDirectory]]
* [[GetDirectoriesInDirectory]]
*[[Base64Encode]]
*[[Base64Decode]]
*[[GetGameVersion]]
*[[GetGameVersionString]]
 
===Game===
*[[GetGameVersion]]
*[[GetGameVersion]]
*[[GetGameVersionString]]
*[[GetGameVersionString]]
== Colors ==
*[[IsServer]]
*[[IsClient]]
* [[AddWebUIWhitelist]]
 
===Colors===
*[[RGBA]]
*[[RGBA]]
*[[RGB]]
*[[RGB]]
*[[HexToRGBA]]
*[[HexToRGBA]]
== Miscellaneous ==
*[[HexToRGBAFloat]]
 
===Miscellaneous===
*[[Random]]
*[[Random]]
*[[RandomFloat]]
*[[RandomFloat]]
Line 13: Line 34:
*[[GetDistance2D]]
*[[GetDistance2D]]
*[[GetDistance3D]]
*[[GetDistance3D]]
*[[Lerp]]
*[[LerpVector]]
*[[AddCommand]]
*[[AddCommand]]
*[[AddFunctionExport]]
*[[AddFunctionExport]]
== Time ==
* [[GetServerPath]]
* [[GetFilesInDirectory]]
* [[GetDirectoriesInDirectory]]
* [[SteamId64ToSteamId3]]
* [[SteamId3ToSteamId64]]
 
===Time===
*[[GetTimeSeconds]]
*[[GetTimeSeconds]]
*[[GetDeltaSeconds]]
*[[GetDeltaSeconds]]
*[[GetTickCount]]
*[[GetTickCount]]
== Server ==
 
===Server===
*[[GetServerTickRate]]
*[[GetServerTickRate]]
*[[ServerExit]]
*[[ServerExit]]
Line 25: Line 55:
*[[GetServerName]]
*[[GetServerName]]
*[[GetMaxPlayers]]
*[[GetMaxPlayers]]
== Explosion ==
 
===Explosion===
*[[CreateExplosion]]
*[[CreateExplosion]]
== Door ==
 
===Door===
*[[IsValidDoor]]
*[[IsValidDoor]]
*[[CreateDoor]]
*[[CreateDoor]]
Line 40: Line 72:
*[[SetDoorDimension]]
*[[SetDoorDimension]]
*[[GetDoorDimension]]
*[[GetDoorDimension]]
== Network ==
*[[GetDoorPropertyValue]]
*[[SetDoorPropertyValue]]
 
===Network===
*[[GetNetworkStats]]
*[[GetNetworkStats]]
*[[DumpNetworkStats]]
 
== NPC ==
===NPC===
*[[SetNPCRagdoll]]
*[[SetNPCDimension]]
*[[SetNPCDimension]]
*[[GetNPCDimension]]
*[[GetNPCDimension]]
Line 64: Line 100:
*[[SetNPCFollowPlayer]]
*[[SetNPCFollowPlayer]]
*[[SetNPCFollowVehicle]]
*[[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 ==
===Object===
{{Template:ServerObjectFunctions}}
 
===Package===
*[[ImportPackage]]
*[[ImportPackage]]
*[[StartPackage]]
*[[StartPackage]]
*[[StopPackage]]
*[[StopPackage]]
*[[GetAllPackages]]
*[[GetAllPackages]]
*[[GetPackageFiles]]
*[[GetPackageName]]
*[[GetPackageName]]
*[[IsPackageStarted]]
*[[IsPackageStarted]]
== Event ==
 
===Event===
*[[AddEvent]]
*[[AddEvent]]
*[[CallEvent]]
*[[CallEvent]]
*[[AddRemoteEvent]]
*[[AddRemoteEvent]]
*[[CallRemoteEvent]]
*[[CallRemoteEvent]]
== Pickup ==
*[[BroadcastRemoteEvent]]
 
===Pickup===
*[[SetPickupDimension]]
*[[SetPickupDimension]]
*[[GetPickupDimension]]
*[[GetPickupDimension]]
Line 118: Line 134:
*[[GetPickupScale]]
*[[GetPickupScale]]
*[[SetPickupVisibility]]
*[[SetPickupVisibility]]
*[[GetPickupActor]]
*[[SetPickupLocation]]


== Player ==
===Player===
*[[SetPlayerDimension]]
{{ServerPlayerFunctions}}
*[[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 ==
===Text3D===
*[[SetText3DDimension]]
*[[SetText3DDimension]]
*[[GetText3DDimension]]
*[[GetText3DDimension]]
Line 196: Line 151:
*[[SetText3DAttached]]
*[[SetText3DAttached]]
*[[SetText3DVisibility]]
*[[SetText3DVisibility]]
== Timer ==
*[[SetText3DText]]
*[[GetText3DText]]
 
===Timer===
*[[Delay]]
*[[Delay]]
*[[GetTimerCount]]
*[[GetTimerCount]]
Line 207: Line 165:
*[[UnpauseTimer]]
*[[UnpauseTimer]]
*[[GetTimerRemainingTime]]
*[[GetTimerRemainingTime]]
== Vehicles ==
 
===Vehicles===
*[[GetVehicleLicensePlate]]
*[[GetVehicleLicensePlate]]
*[[SetVehicleDimension]]
*[[SetVehicleDimension]]
Line 250: Line 209:
*[[SetVehicleLightEnabled]]
*[[SetVehicleLightEnabled]]
*[[GetVehicleLightState]]
*[[GetVehicleLightState]]
*[[GetVehicleLightColor]]
*[[SetVehicleDamage]]
*[[SetVehicleDamage]]
*[[GetVehicleDamage]]
*[[GetVehicleDamage]]
*[[AttachVehicleNitro]]
*[[AttachVehicleNitro]]
*[[GetVehicleActor]]
*[[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