Template:ServerFunctions: Difference between revisions

From Onset Developer Wiki
 
 
(74 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]]
*[[GetObjectCount]]
 
*[[CreateObject]]
===Object===
*[[DestroyObject]]
{{Template:ServerObjectFunctions}}
*[[IsValidObject]]
 
*[[IsObjectStreamedIn]]
===Package===
*[[SetObjectStreamDistance]]
*[[ImportPackage]]
*[[SetObjectLocation]]
*[[StartPackage]]
*[[GetObjectLocation]]
*[[StopPackage]]
*[[SetObjectRotation]]
*[[GetAllPackages]]
*[[GetObjectRotation]]
*[[GetPackageFiles]]
*[[SetObjectScale]]
*[[GetPackageName]]
*[[GetObjectScale]]
*[[IsPackageStarted]]
*[[SetObjectAttached]]
 
*[[SetObjectDetached]]
===Event===
*[[IsObjectAttached]]
*[[GetObjectAttachmentInfo]]
*[[IsObjectMoving]]
*[[SetObjectMoveTo]]
*[[StopObjectMove]]
*[[SetObjectRotateAxis]]
*[[AddEvent]]
*[[AddEvent]]
*[[CallEvent]]
*[[CallEvent]]
*[[AddRemoteEvent]]
*[[AddRemoteEvent]]
*[[AddCommand]]
*[[CallRemoteEvent]]
*[[GetAllPackages]]
*[[BroadcastRemoteEvent]]
 
===Pickup===
*[[SetPickupDimension]]
*[[GetPickupDimension]]
*[[SetPickupPropertyValue]]
*[[GetPickupPropertyValue]]
*[[SetPickupVisibleForPlayers]]
*[[GetPickupCount]]
*[[GetPickupCount]]
*[[GetAllPickups]]
*[[GetAllPickups]]
Line 73: Line 131:
*[[DestroyPickup]]
*[[DestroyPickup]]
*[[IsValidPickup]]
*[[IsValidPickup]]
*[[IsValidPlayer]]
*[[SetPickupScale]]
*[[CallRemoteEvent]]
*[[GetPickupScale]]
*[[GetPlayerCount]]
*[[SetPickupVisibility]]
*[[GetAllPlayers]]
*[[SetPickupLocation]]
*[[GetNearestPlayer2D]]
 
*[[GetPlayersInRange2D]]
===Player===
*[[GetPlayersInRange3D]]
{{ServerPlayerFunctions}}
*[[GetStreamedPlayersForPlayer]]
 
*[[GetPlayerName]]
===Text3D===
*[[GetPlayerNetworkStats]]
*[[SetText3DDimension]]
*[[SetPlayerSpawnLocation]]
*[[GetText3DDimension]]
*[[IsPlayerStreamedIn]]
*[[SetText3DPropertyValue]]
*[[SetPlayerVoiceEnabled]]
*[[GetText3DPropertyValue]]
*[[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]]
*[[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 138: Line 149:
*[[DestroyText3D]]
*[[DestroyText3D]]
*[[IsValidText3D]]
*[[IsValidText3D]]
*[[SetText3DAttached]]
*[[SetText3DVisibility]]
*[[SetText3DText]]
*[[GetText3DText]]
===Timer===
*[[Delay]]
*[[GetTimerCount]]
*[[GetTimerCount]]
*[[GetAllTimers]]
*[[GetAllTimers]]
Line 147: Line 165:
*[[UnpauseTimer]]
*[[UnpauseTimer]]
*[[GetTimerRemainingTime]]
*[[GetTimerRemainingTime]]
===Vehicles===
*[[GetVehicleLicensePlate]]
*[[SetVehicleDimension]]
*[[GetVehicleDimension]]
*[[SetVehiclePropertyValue]]
*[[GetVehiclePropertyValue]]
*[[GetVehicleCount]]
*[[GetVehicleCount]]
*[[GetAllVehicles]]
*[[GetAllVehicles]]
Line 172: Line 197:
*[[SetVehicleColor]]
*[[SetVehicleColor]]
*[[GetVehicleColor]]
*[[GetVehicleColor]]
*[[GetVehicleInteriorColor]]
*[[SetVehicleLinearVelocity]]
*[[SetVehicleLinearVelocity]]
*[[SetVehicleAngularVelocity]]
*[[SetVehicleAngularVelocity]]
Line 185: 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