diff --git a/scripts/client/main.js b/scripts/client/main.js index 9c85fa6a..b2476393 100644 --- a/scripts/client/main.js +++ b/scripts/client/main.js @@ -848,4 +848,15 @@ addNetworkHandler("ag.hotbar", function(activeSlot, itemsArray) { logToConsole(LOG_DEBUG, `[Asshat.Main] Updating hotbar`); }); +// --------------------------------------------------------------------------- + +function getPedFromNetworkEvent(ped) { + //let peds = getPeds(); + //for(let i in peds) { + // if(peds) + //} + + return getElementFromId(ped); +} + // --------------------------------------------------------------------------- \ No newline at end of file