api.game exists in every game, but what’s inside is totally different per game:
- Bloxstrike: the bomb (plant, defuse, explode), hostages, the gamemode, and dropped items.
- Rivals: match status, environment, and placeables.
- Apocalypse Rising 2: world pings (your inventory lives on
api.client).
if api.game.getBomb then, or the Rivals equivalent). See Game support.
Bloxstrike
Bomb plant lifecycle, hostages, gamemode, dropped items.
Rivals
Match status, environment, placeables.
Apocalypse Rising 2
World pings.
Types
BombState, PlantingState, HostageState, DroppedItem, PlaceableEntry.