Use native util for veh engine
This commit is contained in:
@@ -47,12 +47,6 @@ function processSync(event, deltaTime) {
|
|||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
function setVehicleEngine(vehicleId, state) {
|
|
||||||
getElementFromId(vehicleId).engine = state;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ===========================================================================
|
|
||||||
|
|
||||||
function setVehicleLights(vehicleId, state) {
|
function setVehicleLights(vehicleId, state) {
|
||||||
if (getGame() != AGRP_GAME_MAFIA_ONE) {
|
if (getGame() != AGRP_GAME_MAFIA_ONE) {
|
||||||
if (!state) {
|
if (!state) {
|
||||||
|
|||||||
Reference in New Issue
Block a user