Add ped from netevent util

This commit is contained in:
Vortrex
2021-02-22 18:32:11 -06:00
parent 46d04e7d50
commit 16d7c7e209

View File

@@ -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);
}
// ---------------------------------------------------------------------------