zp_core_force_cure
No description available for this symbol.
Syntax
native zp_core_force_cure(id) /** * Sets whether the player will be respawned as zombie or human. * * @param id Player index. * @param zombie True to respawn as zombie, false otherwise. */ native zp_core_respawn_as_zombie(id, zombie = true) /** * Called when a player gets infected. * * @param id Player index who was infected. * @param attacker Player who triggered the infection. * (0 if not available, id = attacker if he infected himself) */ forward zp_fw_core_infect(id, attacker) forward zp_fw_core_infect_post(id, attacker) /** * Called when a player turns back to human. * * @param id Player index who was cured. * @param attacker Player who triggered the cure. * (0 if not available, id = attacker if he cured himself) */ forward zp_fw_core_cure(id, attacker) forward zp_fw_core_cure_post(id, attacker)
Usage
| id | — |
Defined in
zp50_core.inc
at line 90
.
This documentation was automatically generated from source.