GetSunRadius: Difference between revisions
From Onset Developer Wiki
(Created page with "{{Info|Function|Client|1.2.1}} {{FuncDescription|Get the sun radius for the client.}} {{FuncSyntax|GetSunRadius()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|Re...") |
(No difference)
|
Latest revision as of 09:34, 1 September 2020
Description
Get the sun radius for the client.
Syntax
GetSunRadius()
Parameters
- This function has no parameters.
Return Value
- Returns the sun radius that was set with SetSunRadius.
Example
AddEvent("OnPlayerSpawn", function()
local radius = GetSunRadius()
AddPlayerChat("Sun radius: "..radius )
end)