native

zp_core_infect

Syntax

native zp_core_infect(id, attacker = 0)

Description

Turns a player into a zombie.

Parameters

id Player index to be infected.
attacker Player who triggered the infection. (optional)

Return

True on success, false otherwise.