# Exports and Integrations

## Client-side integration helpers

Common client helpers include:

* `Notification`
* `Announce`
* `ClearAnnouncements`
* `ShowTextUI`
* `HideTextUI`
* `IsInZombieGame`
* `DoNotZombify`
* `AllowZombify`
* `IsProtectedFromZombify`
* `CreateSafeZone`
* `CreateDangerZone`
* `RemoveZone`
* `GetActiveZones`
* `IsInSafeZone`
* `IsInDangerZone`

These are the main hooks for temporary events, UI integration, and protecting important local entities from infection logic.

## Server-side integration helpers

Server admin helpers mirror the admin command set.

Open server helpers also provide zombify protection for networked peds through:

* `DoNotZombify`
* `AllowZombify`

Use the server-side protection path for mission or synced entities.

## Common integration patterns

### Temporary event zones

Use `CreateSafeZone` or `CreateDangerZone` from another resource when you need time-limited outbreak areas.

### Protect mission NPCs

Protect mission peds before you start the encounter.

Then remove protection with `AllowZombify` if that NPC should later become vulnerable.

### HUD and notification integration

Swap `HideHUD`, `ShowHUD`, `Notification`, `Announce`, and text UI helpers in the open client file if you want Envi-HUD or another UI stack to drive the experience.

### Weather and atmosphere

Use `WeatherAndTime()` in the open server file if you want zombie modes to control weather or time on your server.

## Leaderboard callbacks

The main leaderboard callbacks include:

* `envi-zombies:server:getAllLeaderboards`
* `envi-zombies:server:getLeaderboardData`

Use those when you want to surface leaderboard data in another UI or admin panel.
