Scripting/Squirrel/Functions/Object.Model: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(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...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
== Arguments ==
== Arguments ==


'''** Object''' - The instance of the object.
'''Object''' - The instance of the object.


== Example ==
== Example ==
Line 16: Line 16:
   print(object.Model);
   print(object.Model);
}
}
</source>
== Related Functions ==
{{Scripting/Squirrel/Functions/Object_Functions}}
[[Category:Scripting/Squirrel/Functions/Object_Functions]]

Latest revision as of 18:34, 30 January 2017

Syntax

Object.Model

Arguments

Object - The instance of the object.

Example

This example will create a object and prints its current Model on console.

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

Related Functions