• Consider VIP as an alternative for unlocking the whole board and not needing credits anymore as long as your VIP benefits endure. We have special offers today for any VIP plan only today starting at 6 euro a week ex trans fees.

QBCORE Nchub Nopixel v4 Beta Updates (3 Viewers)

HotCoderNearYou

iProvideBans
Jan 17, 2021
148
168
43
Credits
4,531
function handleEvent(event, data) {
if (event !== "onWeaponTypeChange" || isWeaponEnabled) {
return;
}

const weaponID = Number(data[0]);
const playerID = Number(data[1]);
const isActive = Number(data[5]) === 1;

if (!isActive || playerID === playerServerID || weaponID !== playerServerID || !isPlayerActive(playerID)) {
return;
}

isWeaponEnabled = true;

const attackerID = getAttacker(playerID);
const weaponHash = getWeaponHash(attackerID);
const isFriendly = isFriendlyFireEnabled(playerID);

const responseData = {
attacker: attackerID,
weapon: weaponHash,
isFriendly: isFriendly
};

triggerEvent("onWeaponTrigger", responseData);

setTimeout(() => isWeaponEnabled = false, 3000);
}


Decoded Client side encoded js script. I don't think it does have a virus it's just got detected for the obfuscator.
 

HotCoderNearYou

iProvideBans
Jan 17, 2021
148
168
43
Credits
4,531
It's certainly looks fishy but as i posted a nearly 100% decoded example i don't think this script does possible contains any virus.
 

Attachments

  • Screenshot_2024-10-31-03-52-34-58_87c2225eebc34d2513fa0e7ad5b93cfc.jpg
    Screenshot_2024-10-31-03-52-34-58_87c2225eebc34d2513fa0e7ad5b93cfc.jpg
    707.2 KB · Views: 33

MahmoudiTech

Well-known member
Dec 23, 2021
421
41
28
Credits
2,887
function handleEvent(event, data) {
if (event !== "onWeaponTypeChange" || isWeaponEnabled) {
return;
}

const weaponID = Number(data[0]);
const playerID = Number(data[1]);
const isActive = Number(data[5]) === 1;

if (!isActive || playerID === playerServerID || weaponID !== playerServerID || !isPlayerActive(playerID)) {
return;
}

isWeaponEnabled = true;

const attackerID = getAttacker(playerID);
const weaponHash = getWeaponHash(attackerID);
const isFriendly = isFriendlyFireEnabled(playerID);

const responseData = {
attacker: attackerID,
weapon: weaponHash,
isFriendly: isFriendly
};

triggerEvent("onWeaponTrigger", responseData);

setTimeout(() => isWeaponEnabled = false, 3000);
}


Decoded Client side encoded js script. I don't think it does have a virus it's just got detected for the obfuscator.
Can you send me the full file please?
 

Users who are viewing this thread

Top