ze_user_infected

Syntax

forward ze_user_infected(iVictim, iInfector);

Usage

iVictim
Victim index, human who catch the infection.
iInfector
Infector index, zombie or server who caused the infection.

Description

Description:     Called when user infected by player or by the server.
                 Called also at the first choose of zombies (in this case server is the infector).

Return

This forward ignores the return value.

Note

If the infector is the server, The iInfector will be 0
else the iInfector will be the zombie id.