GetPickupCount: Difference between revisions

From Onset Developer Wiki
No edit summary
28days (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{Info|Function|Server & Client|1.0}}
{{Info|Function|Server & Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Gets the created pickup count.}}


{{FuncSyntax|GetPickupCount()}}
{{FuncSyntax|GetPickupCount()}}
Line 8: Line 8:
{{FuncNoParam}}
{{FuncNoParam}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns number of created pickups.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
print("Pickups: "..GetPickupCount())
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{PickupFunctions}}

Latest revision as of 17:21, 15 December 2019

GetPickupCount

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Gets the created pickup count.

Syntax

GetPickupCount()

Parameters

  • This function has no parameters.

Return Value

  • Returns number of created pickups.

Example

print("Pickups: "..GetPickupCount())

See also