player is a Player objectpos is an object with the x, y, and z propertiesdir is an object with the x, y, and z propertiesbot.on('playerThrowGrenade', (player, pos, dir) => {
console.log(`${player.name} threw a grenade at ${pos} with direction ${dir}`);
});
player is a Player objectpos is an object with the x, y, and z propertiesdir is an object with the x, y, and z propertiesbot.on('playerThrowGrenade', (player, pos, dir) => {
console.log(`${player.name} threw a grenade at ${pos} with direction ${dir}`);
});