zp_make_user_survivor
Forces a player to become a survivor. Note: Unavailable for last zombie/nemesis.
Syntax
native zp_make_user_survivor(id) /** * Respawns a player into a specific team. * * @param id Player index to be respawned. * @param team Team to respawn the player into (ZP_TEAM_ZOMBIE or ZP_TEAM_HUMAN). * @return True on success, false otherwise. */ native zp_respawn_user(id, team) /** * Forces a player to buy an extra item. * * @param id Player index. * @param itemid A valid extra item ID. * @param ignorecost If set, item's cost won't be deduced from player. * @return True on success, false otherwise. */ native zp_force_buy_extra_item(id, itemid, ignorecost = 0) /** * Returns whether a player is a sniper. * * @param id Player index. * @return True if it is, false otherwise. */ native zp_get_user_sniper(id) /**
Usage
| id | Player index to turn into survivor. |
Return
True — on success, false otherwise.
Defined in
zombie_plague_special.inc
at line 277
.
This documentation was automatically generated from source.