player is a Player objectweaponId is the ID of the grenade pack the game assigns (this counts up from 0 for each ammo type)bot.on('playerCollectGrenade', (player, weaponId) => {
console.log(`${player.name} collected a grenade, and now has ${player.grenades} grenades!`);
});
player is a Player objectweaponId is the ID of the grenade pack the game assigns (this counts up from 0 for each ammo type)bot.on('playerCollectGrenade', (player, weaponId) => {
console.log(`${player.name} collected a grenade, and now has ${player.grenades} grenades!`);
});