logo bannerlogo banner
Page Navigator
  • player is a Player object
  • weaponId 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!`);
});