Add ped from netevent util
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user