Add clientside vehicle script (unfinished)

This commit is contained in:
Vortrex
2022-03-16 17:14:02 -05:00
parent d0e0cc7c2c
commit 5eb8ac4ea6
2 changed files with 12 additions and 1 deletions

View File

@@ -5,4 +5,14 @@
// FILE: vehicle.js
// DESC: Provides vehicle functions and arrays with data
// TYPE: Client (JavaScript)
// ===========================================================================
function receiveVehicleFromServer(vehicleId, position, model, colour1, colour2, colour3 = 0, colour4 = 0) {
logToConsole(LOG_DEBUG, `[VRR.Job] Received vehicle ${vehicleId} (${getVehicleNameFromModel(model, getGame())}) from server`);
if(getGame() == VRR_GAME_GTA_IV) {
}
}
// ===========================================================================