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