RespawnVehicle

From Multi Theft Auto: Wiki
Revision as of 23:18, 9 December 2007 by Talidan (talk | contribs)
Jump to navigation Jump to search

This function respawns a vehicle according to its set respawn position, set by setVehicleRespawnPosition. To spawn to a specific location, spawnVehicle can be used..

Syntax

bool respawnVehicle ( vehicle theVehicle )

Required Arguments

  • theVehicle: The vehicle you wish to respawn

Returns

Returns true if the vehicle respawned successfully, false if the passed argument does not exist or is not a vehicle.

Example

This example does...

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

See Also