SpawnVehicle

From Multi Theft Auto: Wiki
Revision as of 01:59, 15 October 2007 by EAi (talk | contribs) (RespawnVehicle moved to SpawnVehicle)
Jump to navigation Jump to search

Spawns a vehicle at any given position and rotation

Syntax

bool spawnVehicle ( vehicle theVehicle, x, y, z, rx, ry, rz )

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

Shared