forward
zp_fw_core_infect_pre
Syntax
forward zp_fw_core_infect_pre(id, attacker)
Description
Called on a player infect/cure attempt. You can block it by
returning PLUGIN_HANDLED in your plugin.
Parameters
| id | Player index who is being infected/cured. |
|---|---|
| attacker | Player who is triggering the infection/cure. (0 if not available, id = attacker if he is infecting/curing himself) |