zp_disinfect_user

Forces a player to become a human. Note: Unavailable for last zombie/nemesis.

Syntax

native zp_disinfect_user(id, silent = 0) /** * Forces a player to become a nemesis. * * Note: Unavailable for last human/survivor. * * @param id Player index to turn into nemesis. * @return True on success, false otherwise. */ native zp_make_user_nemesis(id) /** * Forces a player to become a survivor. * * Note: Unavailable for last zombie/nemesis. * * @param id Player index to turn into survivor. * @return True on success, false otherwise. */ native zp_make_user_survivor(id) /** * Respawns a player into a specific team. * * @param id Player index to be respawned. * @param team Team to respawn the player into (ZP_TEAM_ZOMBIE or ZP_TEAM_HUMAN). * @return True on success, false otherwise. */ native zp_respawn_user(id, team)

Usage

id Player index to be cured.
silent If set, there will be no HUD messages or antidote sounds.

Return

True — on success, false otherwise.

Defined in zombieplague.inc at line 241 . This documentation was automatically generated from source.