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) /** * 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)

Usage

id Player index.

Return

True — if it is, false otherwise.

Defined in zombieplaguenew1.3.inc at line 253 . This documentation was automatically generated from source.