# Set Player Death Timer

Grammar — Set Player player’s Death Timer to timer.
FlagsNative | Action

Sets the death timer for the specified player.

# Arguments

  • int — Player
  • timer — Timer

Returns — void

native void PlayerSetDeathTimer(
	int inPlayer,
	timer inTimer,
);

Category: Player / Player Settings

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/GameLib.galaxy:13003

    lv_index = 1;
    for ( ; ( (auto822BCDA9_ai >= 0 && lv_index <= auto822BCDA9_ae) || (auto822BCDA9_ai < 0 && lv_index >= auto822BCDA9_ae) ) ; lv_index += auto822BCDA9_ai ) {
        PlayerSetDeathTimer(lv_index, libGame_gv_players[lv_index].lv_respawnTimer);
    }
    libGame_gv_teams[libGame_gv_teamOrderIndex_C].lv_nPCPlayer = libCore_gv_cOMPUTER_TeamOrder;