Make main branch up-to-date with public servers

This commit is contained in:
Vortrex
2022-04-23 15:17:18 -05:00
parent 6ad4e9bf66
commit 7f8875d547
3 changed files with 158 additions and 0 deletions

18
scripts/client/vehicle.js Normal file
View File

@@ -0,0 +1,18 @@
// ===========================================================================
// Vortrex's Roleplay Resource
// https://github.com/VortrexFTW/gtac_roleplay
// ===========================================================================
// 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) {
}
}
// ===========================================================================