Difference between revisions of "Template:ServerFunctions"

From Onset Developer Wiki
 
Line 1: Line 1:
 +
== Game ==
 +
*[[GetGameVersion]]
 +
*[[GetGameVersionString]]
 +
== Colors ==
 
*[[RGBA]]
 
*[[RGBA]]
 
*[[RGB]]
 
*[[RGB]]
 
*[[HexToRGBA]]
 
*[[HexToRGBA]]
 +
== Miscellaneous ==
 
*[[Random]]
 
*[[Random]]
 
*[[RandomFloat]]
 
*[[RandomFloat]]
 
*[[Base64Encode]]
 
*[[Base64Encode]]
 
*[[Base64Decode]]
 
*[[Base64Decode]]
 +
*[[GetDistance2D]]
 +
*[[GetDistance3D]]
 +
*[[AddCommand]]
 +
*[[AddFunctionExport]]
 +
== Time ==
 
*[[GetTimeSeconds]]
 
*[[GetTimeSeconds]]
 
*[[GetDeltaSeconds]]
 
*[[GetDeltaSeconds]]
 
*[[GetTickCount]]
 
*[[GetTickCount]]
*[[GetGameVersion]]
+
== Server ==
*[[GetGameVersionString]]
 
 
*[[GetServerTickRate]]
 
*[[GetServerTickRate]]
 
*[[ServerExit]]
 
*[[ServerExit]]
Line 16: Line 25:
 
*[[GetServerName]]
 
*[[GetServerName]]
 
*[[GetMaxPlayers]]
 
*[[GetMaxPlayers]]
*[[GetDistance2D]]
+
== Explosion ==
*[[GetDistance3D]]
 
 
*[[CreateExplosion]]
 
*[[CreateExplosion]]
 +
== Door ==
 
*[[IsValidDoor]]
 
*[[IsValidDoor]]
 
*[[CreateDoor]]
 
*[[CreateDoor]]
Line 31: Line 40:
 
*[[SetDoorDimension]]
 
*[[SetDoorDimension]]
 
*[[GetDoorDimension]]
 
*[[GetDoorDimension]]
 +
== Network ==
 
*[[GetNetworkStats]]
 
*[[GetNetworkStats]]
 
*[[DumpNetworkStats]]
 
*[[DumpNetworkStats]]
 +
== NPC ==
 +
*[[SetNPCDimension]]
 +
*[[GetNPCDimension]]
 +
*[[SetNPCPropertyValue]]
 +
*[[GetNPCPropertyValue]]
 
*[[CreateNPC]]
 
*[[CreateNPC]]
 
*[[DestroyNPC]]
 
*[[DestroyNPC]]
Line 49: Line 64:
 
*[[SetNPCFollowPlayer]]
 
*[[SetNPCFollowPlayer]]
 
*[[SetNPCFollowVehicle]]
 
*[[SetNPCFollowVehicle]]
 +
== Object ==
 +
*[[SetObjectDimension]]
 +
*[[GetObjectDimension]]
 +
*[[SetObjectPropertyValue]]
 +
*[[GetObjectPropertyValue]]
 
*[[CreateObject]]
 
*[[CreateObject]]
 
*[[DestroyObject]]
 
*[[DestroyObject]]
Line 70: Line 90:
 
*[[StopObjectMove]]
 
*[[StopObjectMove]]
 
*[[SetObjectRotateAxis]]
 
*[[SetObjectRotateAxis]]
 +
== Package ==
 
*[[ImportPackage]]
 
*[[ImportPackage]]
*[[AddFunctionExport]]
 
*[[AddEvent]]
 
*[[CallEvent]]
 
*[[AddRemoteEvent]]
 
*[[AddCommand]]
 
 
*[[StartPackage]]
 
*[[StartPackage]]
 
*[[StopPackage]]
 
*[[StopPackage]]
Line 81: Line 97:
 
*[[GetPackageName]]
 
*[[GetPackageName]]
 
*[[IsPackageStarted]]
 
*[[IsPackageStarted]]
 +
== Event ==
 +
*[[AddEvent]]
 +
*[[CallEvent]]
 +
*[[AddRemoteEvent]]
 +
*[[CallRemoteEvent]]
 +
== Pickup ==
 +
*[[SetPickupDimension]]
 +
*[[GetPickupDimension]]
 +
*[[SetPickupPropertyValue]]
 +
*[[GetPickupPropertyValue]]
 
*[[SetPickupVisibleForPlayers]]
 
*[[SetPickupVisibleForPlayers]]
 
*[[GetPickupCount]]
 
*[[GetPickupCount]]
Line 90: Line 116:
 
*[[GetPickupScale]]
 
*[[GetPickupScale]]
 
*[[SetPickupVisibility]]
 
*[[SetPickupVisibility]]
 +
== Player ==
 +
*[[SetPlayerDimension]]
 +
*[[GetPlayerDimension]]
 +
*[[SetPlayerPropertyValue]]
 +
*[[GetPlayerPropertyValue]]
 
*[[IsValidPlayer]]
 
*[[IsValidPlayer]]
*[[CallRemoteEvent]]
 
 
*[[GetPlayerCount]]
 
*[[GetPlayerCount]]
 
*[[GetAllPlayers]]
 
*[[GetAllPlayers]]
Line 149: Line 179:
 
*[[SetPlayerHeadSize]]
 
*[[SetPlayerHeadSize]]
 
*[[GetPlayerHeadSize]]
 
*[[GetPlayerHeadSize]]
 +
== Text3D ==
 +
*[[SetText3DDimension]]
 +
*[[GetText3DDimension]]
 +
*[[SetText3DPropertyValue]]
 +
*[[GetText3DPropertyValue]]
 
*[[GetText3DCount]]
 
*[[GetText3DCount]]
 
*[[GetAllText3D]]
 
*[[GetAllText3D]]
Line 156: Line 191:
 
*[[SetText3DAttached]]
 
*[[SetText3DAttached]]
 
*[[SetText3DVisibility]]
 
*[[SetText3DVisibility]]
 +
== Timer ==
 +
*[[Delay]]
 
*[[GetTimerCount]]
 
*[[GetTimerCount]]
 
*[[GetAllTimers]]
 
*[[GetAllTimers]]
Line 165: Line 202:
 
*[[UnpauseTimer]]
 
*[[UnpauseTimer]]
 
*[[GetTimerRemainingTime]]
 
*[[GetTimerRemainingTime]]
 +
== Vehicles ==
 +
*[[SetVehicleDimension]]
 +
*[[GetVehicleDimension]]
 +
*[[SetVehiclePropertyValue]]
 +
*[[GetVehiclePropertyValue]]
 
*[[GetVehicleCount]]
 
*[[GetVehicleCount]]
 
*[[GetAllVehicles]]
 
*[[GetAllVehicles]]
Line 206: Line 248:
 
*[[GetVehicleDamage]]
 
*[[GetVehicleDamage]]
 
*[[AttachVehicleNitro]]
 
*[[AttachVehicleNitro]]
*[[SetPlayerDimension]]
 
*[[SetVehicleDimension]]
 
*[[SetObjectDimension]]
 
*[[SetPickupDimension]]
 
*[[SetText3DDimension]]
 
*[[SetNPCDimension]]
 
*[[GetPlayerDimension]]
 
*[[GetVehicleDimension]]
 
*[[GetObjectDimension]]
 
*[[GetPickupDimension]]
 
*[[GetText3DDimension]]
 
*[[GetNPCDimension]]
 
*[[SetPlayerPropertyValue]]
 
*[[GetPlayerPropertyValue]]
 
*[[SetVehiclePropertyValue]]
 
*[[GetVehiclePropertyValue]]
 
*[[SetObjectPropertyValue]]
 
*[[GetObjectPropertyValue]]
 
*[[SetNPCPropertyValue]]
 
*[[GetNPCPropertyValue]]
 
*[[SetText3DPropertyValue]]
 
*[[GetText3DPropertyValue]]
 
*[[SetPickupPropertyValue]]
 
*[[GetPickupPropertyValue]]
 
*[[Delay]]
 

Latest revision as of 06:26, 4 December 2019

Game

Colors

Miscellaneous

Time

Server

Explosion

Door

Network

NPC

Object

Package

Event

Pickup

Player

Text3D

Timer

Vehicles