Scripting/Squirrel/Functions/Object.Model

From Vice City Multiplayer
Revision as of 13:58, 14 August 2016 by Anik (talk | contribs) (Created page with "== Syntax == <pre>Object.Model</pre> == Arguments == '''** Object''' - The instance of the object. == Example == This example will create a object and prints its current...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

Syntax

Object.Model

Arguments

** Object - The instance of the object.

Example

This example will create a object and prints its current Model on console. <source lang=squirrel> function onScriptLoad() {

  object <- CreateObject( 334, 1, Vector( -2261.12, 753.12, 211.123 ),255 );
  print(object.Model);

}