GetCloudSpeed: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.2.1}} {{FuncDescription|Get the cloud movement speed for the client.}} {{FuncSyntax|GetCloudSpeed()}} {{FuncParameters}} {{FuncNoParam}} {{FuncRet...")
(No difference)

Revision as of 09:42, 1 September 2020

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__