zp_infect_user

Синтаксис

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

Употреба

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.

Описание

Forces a player to become a zombie.

Note: Unavailable for last human/survivor.

Връщаща стойност

True on success, false otherwise.