-
Notifications
You must be signed in to change notification settings - Fork 1
Server Functions
DizzasTeR edited this page Nov 7, 2020
·
11 revisions
-
getOption(ServerOption option) — Gets value of a server option
-
setOption(ServerOption option, bool toggle) — Toggles a server option
-
getName() — string Server Name
-
setName(string newServerName)
-
getPassword() — string Server Password
-
setPassword(string newServerPassword)
-
setClassPosition:
- setClassPosition(Table position)
- setClassPosition(float x, float y, float z)
-
setClassCameraPosition:
- setClassCameraPosition(Table position)
- setClassCameraPosition(float x, float y, float z)
-
setClassCameraLook:
- setClassCameraLook(Table position)
- setClassCameraLook(float x, float y, float z)
-
setBounds(float max_X, float min_X, float max_Y, float min_Y)
-
getSkinID(string skinName)
-
getSkinName(int skinID)
-
getWeaponID(string weaponName)
-
getWeaponName(int weaponID)
-
getDistrictName:
- getDistrictName(Table position)
- getDistrictName(float x, float y, float z)
- tick
- fallTimer
- timeRate
- hour
- minute
- weather
- gravity
- waterLevel
- gameSpeed
- flightAltitude
- vehicleRespawnHeight