ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. isSlowMotionEnabled

Function

isSlowMotionEnabled

Server and clientMiscellaneousTrilogy Hub only

Checks whether slow motion of a kind is on ("all" = both).

Syntax

bool isSlowMotionEnabled([string kind = "all"])

Arguments

kindstring, optional = "all"
"wheel", "stunt" or "all".

Returns

true when enabled.

Example

if isSlowMotionEnabled("wheel") then
    outputChatBox("Koło broni spowalnia czas.")
end

See also