zp_infect_user

Syntax

native zp_infect_user(id, infector = 0, silent = 0, rewards = 0)

Usage

id
Player index to be infected.
infector
Player index who infected him (optional).
silent
If set, there will be no HUD messages or infection sounds.
rewards
Whether to show DeathMsg and reward frags, hp, and ammo packs to infector.

Description

Forces a player to become a zombie.

Note: Unavailable for last human/survivor/sniper.

Return

True on success, false otherwise.