GetCloudSpeed

From Onset Developer Wiki
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