From 11e9bd7059bec1c0b7cb04e029e07838043ff52b Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Tue, 14 Apr 2020 16:51:13 +0200 Subject: [PATCH] Latest ESX code --- README.md | 2 +- esx_phone.sql | 2 +- html/scripts/app_en.js | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 96fa6c1a..0016229b 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ last two booleans are optional ### License esx_phone - phone script for fivem -Copyright (C) 2015-2019 Jérémie N'gadi +Copyright (C) 2015-2020 Jérémie N'gadi This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version. diff --git a/esx_phone.sql b/esx_phone.sql index 220d5ad1..f501d301 100644 --- a/esx_phone.sql +++ b/esx_phone.sql @@ -1,4 +1,4 @@ -USE `essentialmode`; +USE `es_extended`; CREATE TABLE `user_contacts` ( `id` INT(11) NOT NULL AUTO_INCREMENT, diff --git a/html/scripts/app_en.js b/html/scripts/app_en.js index 21a3caf0..d4ea6746 100644 --- a/html/scripts/app_en.js +++ b/html/scripts/app_en.js @@ -501,7 +501,11 @@ } - window.onload = function(e){ window.addEventListener('message', function(event){ onData(event.data) }); } + window.onload = function(e){ + window.addEventListener('message', function(event) { + onData(event.data) + }); + } document.onkeydown = function (data) { if ((data.which == 120 || data.which == 27) && isPhoneShowed) { // || data.which == 8