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