From Multi Theft Auto: Wiki
Jump to navigation
Jump to search
|
|
| Line 1: |
Line 1: |
| {{Server function}}
| |
| __NOTOC__
| |
| Spawns a vehicle at any given position and rotation
| |
|
| |
|
| ==Syntax==
| |
| <syntaxhighlight lang="lua">
| |
| bool spawnVehicle ( vehicle theVehicle, x, y, z, rx, ry, rz )
| |
| </syntaxhighlight>
| |
|
| |
| ===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==
| |
| <!-- Explain what the example is in a single sentance -->
| |
| This example does...
| |
| <!-- Add the code below, an emphasis should be on making it clear, not optimized. You could provide two versions if you wish, one clear and well commented, the other optimized -->
| |
| <syntaxhighlight lang="lua">
| |
| --This line does...
| |
| blabhalbalhb --abababa
| |
| --This line does this...
| |
| mooo
| |
| </syntaxhighlight>
| |
|
| |
| ==See Also==
| |
| <!-- Change FunctionArea to the area that this function is in on the main function list page, e.g. Server, Player, Vehicle etc -->
| |
| {{Vehicle functions}}
| |
| [[Category:Incomplete]]
| |
Revision as of 01:49, 15 October 2007