GetVehicleIDFromName

From Multi Theft Auto: Wiki
Revision as of 04:09, 3 October 2006 by JonChappell (talk | contribs)
Jump to navigation Jump to search

This function retrieves the ID of a vehicle as an integer value from its name.

Syntax

int getVehicleIDFromName ( string name )             

Required Arguments

  • name: A string containing the name of the vehicle.

Returns

Returns an int if the name exists, false otherwise.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

See Also