Template:ServerFunctions: Difference between revisions

From Onset Developer Wiki
No edit summary
 
(51 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]]
===Door===
*[[IsValidDoor]]
*[[CreateDoor]]
*[[CreateDoor]]
*[[DestroyDoor]]
*[[DestroyDoor]]
Line 30: Line 72:
*[[SetDoorDimension]]
*[[SetDoorDimension]]
*[[GetDoorDimension]]
*[[GetDoorDimension]]
*[[GetLightCount]]
*[[GetDoorPropertyValue]]
*[[GetAllLights]]
*[[SetDoorPropertyValue]]
*[[CreateLight]]
 
*[[DestroyLight]]
===Network===
*[[IsValidLight]]
*[[GetNetworkStats]]
*[[GetNetworkStats]]
*[[DumpNetworkStats]]
 
===NPC===
*[[SetNPCRagdoll]]
*[[SetNPCDimension]]
*[[GetNPCDimension]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[CreateNPC]]
*[[CreateNPC]]
*[[DestroyNPC]]
*[[DestroyNPC]]
Line 43: Line 90:
*[[GetNPCCount]]
*[[GetNPCCount]]
*[[IsNPCStreamedIn]]
*[[IsNPCStreamedIn]]
*[[GetNPCModel]]
*[[SetNPCLocation]]
*[[SetNPCLocation]]
*[[GetNPCLocation]]
*[[GetNPCLocation]]
Line 54: Line 100:
*[[SetNPCFollowPlayer]]
*[[SetNPCFollowPlayer]]
*[[SetNPCFollowVehicle]]
*[[SetNPCFollowVehicle]]
*[[CreateObject]]
 
*[[DestroyObject]]
===Object===
*[[IsValidObject]]
{{Template:ServerObjectFunctions}}
*[[GetObjectCount]]
 
*[[GetObjectModel]]
===Package===
*[[IsObjectStreamedIn]]
*[[SetObjectStreamDistance]]
*[[SetObjectLocation]]
*[[GetObjectLocation]]
*[[SetObjectRotation]]
*[[GetObjectRotation]]
*[[SetObjectScale]]
*[[GetObjectScale]]
*[[SetObjectAttached]]
*[[SetObjectDetached]]
*[[IsObjectAttached]]
*[[GetObjectAttachmentInfo]]
*[[IsObjectMoving]]
*[[SetObjectMoveTo]]
*[[StopObjectMove]]
*[[SetObjectRotateAxis]]
*[[ImportPackage]]
*[[ImportPackage]]
*[[AddFunctionExport]]
*[[StartPackage]]
*[[StopPackage]]
*[[GetAllPackages]]
*[[GetPackageFiles]]
*[[GetPackageName]]
*[[IsPackageStarted]]
 
===Event===
*[[AddEvent]]
*[[AddEvent]]
*[[CallEvent]]
*[[CallEvent]]
*[[AddRemoteEvent]]
*[[AddRemoteEvent]]
*[[AddCommand]]
*[[CallRemoteEvent]]
*[[GetAllPackages]]
*[[BroadcastRemoteEvent]]
*[[GetPackageName]]
 
===Pickup===
*[[SetPickupDimension]]
*[[GetPickupDimension]]
*[[SetPickupPropertyValue]]
*[[GetPickupPropertyValue]]
*[[SetPickupVisibleForPlayers]]
*[[GetPickupCount]]
*[[GetPickupCount]]
*[[GetAllPickups]]
*[[GetAllPickups]]
Line 90: Line 133:
*[[SetPickupScale]]
*[[SetPickupScale]]
*[[GetPickupScale]]
*[[GetPickupScale]]
*[[IsValidPlayer]]
*[[SetPickupVisibility]]
*[[CallRemoteEvent]]
*[[SetPickupLocation]]
*[[GetPlayerCount]]
 
*[[GetAllPlayers]]
===Player===
*[[GetNearestPlayer2D]]
{{ServerPlayerFunctions}}
*[[GetPlayersInRange2D]]
 
*[[GetPlayersInRange3D]]
===Text3D===
*[[GetStreamedPlayersForPlayer]]
*[[SetText3DDimension]]
*[[SetPlayerName]]
*[[GetText3DDimension]]
*[[GetPlayerName]]
*[[SetText3DPropertyValue]]
*[[GetPlayerSteamId]]
*[[GetText3DPropertyValue]]
*[[GetPlayerNetworkStats]]
*[[SetPlayerSpawnLocation]]
*[[IsPlayerStreamedIn]]
*[[SetPlayerVoiceEnabled]]
*[[IsPlayerVoiceEnabled]]
*[[IsPlayerTalking]]
*[[AddPlayerChat]]
*[[AddPlayerChatRange]]
*[[AddPlayerChatAll]]
*[[GetPlayerState]]
*[[GetPlayerMovementMode]]
*[[GetPlayerMovementSpeed]]
*[[IsPlayerAiming]]
*[[IsPlayerReloading]]
*[[GetVehicleLicensePlate]]
*[[GetPlayerVehicle]]
*[[GetPlayerVehicleSeat]]
*[[SetPlayerInVehicle]]
*[[RemovePlayerFromVehicle]]
*[[SetPlayerLocation]]
*[[GetPlayerLocation]]
*[[SetPlayerWeaponStat]]
*[[SetPlayerWeapon]]
*[[GetPlayerWeapon]]
*[[GetPlayerEquippedWeaponSlot]]
*[[EquipPlayerWeaponSlot]]
*[[GetPlayerEquippedWeapon]]
*[[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 157: Line 150:
*[[IsValidText3D]]
*[[IsValidText3D]]
*[[SetText3DAttached]]
*[[SetText3DAttached]]
*[[SetText3DVisibility]]
*[[SetText3DText]]
*[[GetText3DText]]
===Timer===
*[[Delay]]
*[[GetTimerCount]]
*[[GetTimerCount]]
*[[GetAllTimers]]
*[[GetAllTimers]]
Line 166: Line 165:
*[[UnpauseTimer]]
*[[UnpauseTimer]]
*[[GetTimerRemainingTime]]
*[[GetTimerRemainingTime]]
===Vehicles===
*[[GetVehicleLicensePlate]]
*[[SetVehicleDimension]]
*[[GetVehicleDimension]]
*[[SetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
*[[GetVehicleCount]]
*[[GetVehicleCount]]
*[[GetAllVehicles]]
*[[GetAllVehicles]]
Line 203: 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]]
*[[SetPlayerPropertyValue]]
*[[GetPlayerPropertyValue]]
*[[SetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
*[[SetObjectPropertyValue]]
*[[GetObjectPropertyValue]]
*[[SetNPCPropertyValue]]
*[[GetNPCPropertyValue]]
*[[SetText3DPropertyValue]]
*[[GetText3DPropertyValue]]
*[[SetPickupPropertyValue]]
*[[GetPickupPropertyValue]]

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