gta.createVehicle: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
 
No edit summary
Line 6: Line 6:
|parametersCS = int model, [ Vec3 position ]
|parametersCS = int model, [ Vec3 position ]
|parameter1 = int model The vehicle model ID.
|parameter1 = int model The vehicle model ID.
|parameter2 = Vec3 position optional Vec3(0.0,0.0,0.0) The position for the vehicle.
|parameter2 = Vec3 position optional Vec3(0.0, 0.0, 0.0) The position for the vehicle.
|return1 = Vehicle The vehicle handle.
|return1 = Vehicle The vehicle handle.
|returnFail1 = null n/a
|returnFail1 = null n/a
|usage = add a vehicle, use the [[addToWorld|addToWorld]] function afterwards to add the vehicle to the players games
|usage = add a vehicle
|returnInfo = a handle to the vehicle
|returnInfo = a handle to the vehicle
|bcMaxVersion = 1.0.71
|bcMaxVersion = 1.0.71
|bcName = game.createVehicle
|bcName = game.createVehicle
|notes = [[Resources/GTA3/VehicleModels|III Vehicle Models]]<br>
|notes = Use the [[addToWorld|addToWorld]] function afterwards to add the vehicle to the players games.
[[Resources/GTAVC/VehicleModels|VC Vehicle Models]]<br>
[[Resources/GTASA/VehicleModels|SA Vehicle Models]]<br>
[[Server/Defines#GTA_III_-_Game_Defines|Server Game Defines]]<br>
This function has an example page: [[ScriptingExamples/AddVehicle|Add a Vehicle Example]]
This function has an example page: [[ScriptingExamples/AddVehicle|Add a Vehicle Example]]
}}
}}
2,603

edits

Navigation menu