gta.createVehicle: Difference between revisions

no edit summary
m (Removed 'addToWorld()' function invoke as the webpage for 'addToWorld()' (https://wiki.gtaconnected.com/addToWorld) states that it no longer needs to be invoked.)
No edit summary
 
Line 13: Line 13:
|bcMaxVersion = 1.0.71
|bcMaxVersion = 1.0.71
|bcName = game.createVehicle
|bcName = game.createVehicle
|notes = Use the [[addToWorld|addToWorld]] function afterwards to add the vehicle to the players games.
|exampleJSSS = addCommandHandler("vehicle", function(command, parameters, client) {
|exampleJSSS = addCommandHandler("vehicle", function(command, parameters, client) {
     var model = parseInt(parameters);
     var model = parseInt(parameters);
7,072

edits