Merge branch 'nightly' into 1.4.0-prep

This commit is contained in:
Vortrex
2022-03-09 05:18:43 -06:00
13 changed files with 344 additions and 284 deletions

View File

@@ -538,8 +538,10 @@ function setVehicleColours(vehicle, colour1, colour2, colour3 = -1, colour4 = -1
// ===========================================================================
function createGameVehicle(modelIndex, position, heading) {
return game.createVehicle(getGameConfig().vehicles[getGame()][modelIndex][0], position, heading);
function createGameVehicle(modelIndex, position, heading, toClient = null) {
if(areServerElementsSupported()) {
return game.createVehicle(getGameConfig().vehicles[getGame()][modelIndex][0], position, heading);
}
}
// ===========================================================================