zp_make_user_spy

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

Syntax

native zp_make_user_spy(id) /** * Returns whether the ZP round has started, i.e. first zombie * has been chosen or a game mode has begun. * * @return 0 - Round not started * 1 - Round started * 2 - Round starting */ native zp_has_round_started() /** * Returns whether the current round is a nemesis round. * * @return True if it is, false otherwise. */ native zp_is_nemesis_round() /** * Returns whether the current round is a survivor round. * * @return True if it is, false otherwise. */ native zp_is_survivor_round() /** * Returns whether the current round is a swarm round. * * @return True if it is, false otherwise.

Usage

id Player index to turn into spy.

Return

True — on success, false otherwise.

Defined in zombie_plague_special.inc at line 441 . This documentation was automatically generated from source.