forward

zpn_user_infected_pre

Syntax

forward zpn_user_infected_pre(const this, const infector, const class_id);

Description

Called before a client is infected and receives the zombie class.

Parameters

this Client index being infected
infector Infector client index, or 0 if there is no direct infector
class_id Zombie class index that will be applied

Note

The forwarded integer parameters can be changed with
zpn_set_fw_param_int().

Note

Parameter ids used by zpn_set_fw_param_int() in this forward:
1 - infected client index
2 - infector client index
3 - zombie class index

Return

This forward ignores the returned value.