GetCloudSpeed

From Onset Developer Wiki
Revision as of 09:42, 1 September 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Client|1.2.1}} {{FuncDescription|Get the cloud movement speed for the client.}} {{FuncSyntax|GetCloudSpeed()}} {{FuncParameters}} {{FuncNoParam}} {{FuncRet...")
(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

__EDIT_ME__