From f9d1e8c384398c4c0de08441c41b8a3f127270ef Mon Sep 17 00:00:00 2001 From: Vortrex <3858226+VortrexFTW@users.noreply.github.com> Date: Mon, 7 Nov 2022 13:36:52 -0600 Subject: [PATCH] Remove old workaround for IV --- scripts/server/utilities.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/scripts/server/utilities.js b/scripts/server/utilities.js index 9faaef7c..df6f617a 100644 --- a/scripts/server/utilities.js +++ b/scripts/server/utilities.js @@ -441,11 +441,13 @@ function isClientInitialized(client) { // =========================================================================== function getPedForNetworkEvent(ped) { - if (getGame() == AGRP_GAME_GTA_IV) { - return ped; - } else { - return ped.id; - } + //if (getGame() == AGRP_GAME_GTA_IV) { + // return ped; + //} else { + // return ped.id; + //} + + return ped.id; } // ===========================================================================