SetPlayerSlotAvailable

Parameters
whichPlayer player
control mapcontrol
return type
nothing
Source code
function SetPlayerSlotAvailable takes player whichPlayer, mapcontrol control returns nothing
    local integer playerIndex = GetPlayerId(whichPlayer)

    call CheckInitPlayerSlotAvailability()
    set bj_slotControlUsed[playerIndex] = true
    set bj_slotControl[playerIndex] = control
endfunction
Source
Blizzard.j
wc3modding.com
SetPlayerSlotAvailable