Scripting/Squirrel/Client Functions/World::FindVehicle: 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 "This function returns the vehicle instance for the ID, or null if the vehicle does not exist or is not streamed in. == Syntax == <pre>World.FindVehicle</pre> == Arguments ==...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
== Syntax ==
== Syntax ==


<pre>World.FindVehicle</pre>
<pre>World.FindVehicle( int_ID )</pre>


== Arguments ==
== Arguments ==


None.
* '''INTEGER''' '''int_ID''' The ID of the vehicle to find.


== Return type ==
== Return type ==

Latest revision as of 05:52, 14 July 2016

This function returns the vehicle instance for the ID, or null if the vehicle does not exist or is not streamed in.

Syntax

World.FindVehicle( int_ID )

Arguments

  • INTEGER int_ID The ID of the vehicle to find.

Return type

Instance

Example

This page needs an example.