GetPickupDimension: Difference between revisions

From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Gets the dimension of this pickup.}} {{FuncSyntax|GetPickupDimension(pickup)}} {{FuncParameters}} {{FuncParam|pickup|The pick..."
 
No edit summary
 
Line 11: Line 11:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
print("Pickup Dimension: " .. GetPickupDimension(pickup))
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:PickupFunctions}}

Latest revision as of 14:36, 26 June 2021

GetPickupDimension

Type: Function
Context: Server
Introduced: v1.0

Description

Gets the dimension of this pickup.

Syntax

GetPickupDimension(pickup)

Parameters

  • pickup
    The pickup identifier.

Return Value

  • Returns the dimension.

Example

print("Pickup Dimension: " .. GetPickupDimension(pickup))

See also