zp_make_user_nemesis
Forces a player to become a nemesis. Note: Unavailable for last human/survivor.
Syntax
native zp_make_user_nemesis(id) /** * Forces a player to become a survivor. * * Note: Unavailable for last zombie/nemesis. * * @param id Player index to turn into survivor. * @return True on success, false otherwise. */ 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)
Usage
| id | Player index to turn into nemesis. |
Return
True — on success, false otherwise.
Defined in
zombieplague.inc
at line 251
.
This documentation was automatically generated from source.