# Wants To Surrender

Grammar — Player player wants to surrender
FlagsNative | Function

Check if this player wants to concede a skirmish game.

# Arguments

  • int — Player

Returns — bool

native bool AIGivingUp(int player);

Category: AI Advanced / Utility / Functions

# Examples

# mods/liberty.sc2mod

LibertyLib.galaxy

// L800
AIGivingUp(lv_player)
// L806
AIGivingUp(lv_player)