Use setPlayerRespawnTime 0; to respawn on selected position (certain gets selected by default), or position of death, if there is no the RP-s.
Description
Shows respawn menu. Closes it if the player is alive.
Syntax
[player, respawnDelay, revive] call BIS_fnc_respawnMenuPosition
Parameters:
player: Object - player unitrespawnDelay: Number - (Optional, default 3) respawn delayrevive: Boolean - (Optional, default false) if unit was revived
Returns: Nothing
Examples
Example 1
[player,5] call BIS_fnc_respawnMenuPosition;