GetStreamedPickups: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetStreamedPickups()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Exa..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Get all the streamed pickups for the client.}} | ||
{{FuncSyntax|GetStreamedPickups()}} | {{FuncSyntax|GetStreamedPickups()}} | ||
Line 8: | Line 8: | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns a table with all the pickups streamed to the client.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
local pickups = GetStreamedPickups() | |||
if #pickups == 0 then | |||
print("No pickups are streamed.") | |||
end | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
__EDIT_ME__ | __EDIT_ME__ |
Latest revision as of 08:22, 29 December 2019
Description
Get all the streamed pickups for the client.
Syntax
GetStreamedPickups()
Parameters
- This function has no parameters.
Return Value
- Returns a table with all the pickups streamed to the client.
Example
local pickups = GetStreamedPickups()
if #pickups == 0 then
print("No pickups are streamed.")
end
See also
__EDIT_ME__