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
No edit summary
No edit summary
 
Line 6: Line 6:
== Arguments ==
== Arguments ==


'''INTEGER''' '''int_ID''' The ID of the vehicle to find.
* '''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.