zp_get_user_spy
Returns whether a player is a spy
Syntax
native zp_get_user_spy(id) /** * Forces a player to become a spy. * * Note: Unavailable for last zombie/nemesis/assassin. * * @param id Player index to turn into spy. * @return True on success, false otherwise. */ 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() /**
Usage
| id | Player index. |
Return
True — if it is, false otherwise.
Defined in
zombie_plague_special.inc
at line 431
.
This documentation was automatically generated from source.