GetCloudSpeed

From Onset Developer Wiki
Revision as of 11:25, 1 September 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetCloudSpeed

Type: Function
Context: Client
Introduced: v1.2.1

Description

Get the cloud movement speed for the client.

Syntax

GetCloudSpeed()

Parameters

  • This function has no parameters.

Return Value

  • Returns the cloud movement speed that was set with SetCloudSpeed.

Example

AddEvent("OnPlayerSpawn", function()
    local speed = GetCloudSpeed()
    AddPlayerChat("Cloud speed: "..speed)
end)

See also