GetObjectModel

From Onset Developer Wiki
Revision as of 14:29, 26 June 2021 by FlyingFork (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetObjectModel

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

Description

Get the object model number ob a spawned object. See Objects.

Syntax

GetObjectModel(object)

Parameters

  • object
    The object identifier.

Return Value

  • Returns the object model number as an integer.

Example

print("Object Model: " .. GetObjectModel(object))

See also