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 edit summary
 
Line 19: Line 19:


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[SetCloudSpeed]]

Latest revision as of 11:25, 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