image bg Offroad Oil Tanker Truck Drive
image Offroad Oil Tanker Truck Drive
Offroad Oil Tanker Truck Drive
Play Now
Game loading..
25
image bg Offroad Oil Tanker Truck Drive

Offroad Oil Tanker Truck Drive

0 plays

Offroad Oil Tanker Truck Drive

Experience the thrill of offroad adventure with the Offroad Oil Tanker Truck Drive! This captivating 3D game immerses players in the challenging world of oil transportation, where you must navigate treacherous terrains and steep hills. As you take on the role of a professional tanker driver, your mission is to expertly maneuver your heavy-duty truck through rugged landscapes while ensuring

Play Offroad Oil Tanker Truck Drive
&description_url=" + encodeURIComponent(descriptionURL) + "&correlator=1785241611"; function getcookie(name) { var cookie_start = document.cookie.indexOf(name); var cookie_end = document.cookie.indexOf(";", cookie_start); return cookie_start == -1 ? '' : unescape(document.cookie.substring(cookie_start + name.length + 1, (cookie_end > cookie_start ? cookie_end : document.cookie.length))); } function setcookie(cookieName, cookieValue, seconds, path, domain, secure) { var expires = new Date(); expires.setTime(expires.getTime() + seconds); document.cookie = escape(cookieName) + '=' + escape(cookieValue) + (expires ? '; expires=' + expires.toGMTString() : '') + (path ? '; path=' + path : '/') + (domain ? '; domain=' + domain : '') + (secure ? '; secure' : ''); } function ClearPlayedGames() { setcookie("lastplayedgames", "", -360000, "/"); return false; } function PlayedGames(game_id) { var playedgames = getcookie("playedgames"); if (playedgames.indexOf("," + game_id + ",") > -1) { playedgames = playedgames.replace("," + game_id + ",", ''); } else { if (playedgames == "" || playedgames == ",") { playedgames = "," + game_id + ","; } else { playedgames = "," + game_id + "," + playedgames; } } setcookie("playedgames", playedgames, 25920000000, "/"); } var playGameId = Number('19416'); window.setTimeout(function() { if (typeof __upGame_rx8 === 'function' && playGameId > 0) { __upGame_rx8(playGameId); } }, 2000); var descriptionURL = "http://www.wallpaper4klive.com/game/offroad-oil-tanker-truck-drive"; var iframe = ''; function ReqGameFullscreen() { let gameElement = document.getElementById('gameDiv'); $("#ava-game_container").removeClass("max-h-[calc(100svh-240px)]"); $("#ava-game_container").addClass("max-h-[calc(100svh-45px)]"); $('.game-zoom-btn').addClass("hidden"); $('#exitFullscreen-btn').removeClass("hidden"); if (gameElement.requestFullscreen) { gameElement.requestFullscreen(); } else if (gameElement.mozRequestFullScreen) { // Mozilla gameElement.mozRequestFullScreen(); } else if (gameElement.webkitRequestFullscreen) { // Webkit gameElement.webkitRequestFullscreen(); } else if (gameElement.msRequestFullscreen) { // IE/Edge gameElement.msRequestFullscreen(); } } document.getElementById('exitFullscreen-btn').addEventListener('click', function() { exitFullscreen(); }); function exitFullscreen() { let gameElement = document.getElementById('gameDiv'); $("#ava-game_container").removeClass("max-h-[calc(100svh-45px)]"); $("#ava-game_container").addClass("max-h-[calc(100svh-240px)]"); $('.game-zoom-btn').removeClass("hidden"); $('#exitFullscreen-btn').addClass("hidden"); if (document.exitFullscreen) { document.exitFullscreen(); } else if (document.mozCancelFullScreen) { // Mozilla document.mozCancelFullScreen(); } else if (document.webkitExitFullscreen) { // Webkit document.webkitExitFullscreen(); } else if (document.msExitFullscreen) { // IE/Edge document.msExitFullscreen(); } } $(document).ready(function() { $('.play-now-button').click(function(e) { $("#play-game-box").removeClass("hidden"); SkipAdAndShowGame(); $("#gamePlay-content").hide(); // $('#adsContainer').show(); if ($(document).width() < 1024) { $("#header").hide(); $("#topad").hide(); $("#game-bottom").hide(); $(".play-game-bottom").hide(); $(".tags-walkthrough-container").hide(); $(".h-head").hide(); $(".game-zoom").hide(); // $("#adsContainer").hide(); $("#game-col").css("margin", "0px"); $("#game-col").css("height", "100svh"); $("#gameDiv").css("height", "100svh"); $("#gameDiv").css("width", "100vw"); $("#gameDiv").css("position", "fixed"); $("#gameDiv").css("top", "0"); $("#gameDiv").css("left", "0"); $("#gameDiv").css("z-index", "9999"); $("#ava-game_container").css("height", "100svh"); $('body').css('overflow', 'hidden'); $('.close-fullscreen').css('display', 'flex'); // GameFullscreen() // $("#game-preloading").show(); // setTimeout( // function() // { // $("#game-preloading").hide(); // PreRollAd.start(); // }, 550); // Tambahkan fungsi fullscreen // Call the fullscreen function ReqGameFullscreen(); } }); $('.show-more-games-button').click(function() { $(".gameplay-container").show(); $('a.hidden').removeClass('hidden'); $(this).hide(); }); }); function SkipAdAndShowGame() { $("#adsContainer").hide(); $(".game-box").html(iframe); } $(function() { $('.ad300').eq(0).show(); if ($('.ad300').size() > 1) { setInterval(function() { var first = $('.ad300').eq(0); first.hide(); $('.ad300').last().after(first); $('.ad300').eq(0).fadeIn(); }, 3000); } $('.adsmall').eq(0).show(); if ($('.adsmall').size() > 1) { setInterval(function() { var first = $('.adsmall').eq(0); first.hide(); $('.adsmall').last().after(first); $('.adsmall').eq(0).fadeIn(); }, 3000); } })