Jass:CheckInitPlayerSlotAvailability
Aus Mappedia
| Funktion: CheckInitPlayerSlotAvailability | |
|---|---|
| Parameter: | nothing |
| Rückgabewert: | nothing |
| Autor: | Blizzard |
| Quelle: | Blizzard.j |
| Synchron: | Unbekannt |
Code
function CheckInitPlayerSlotAvailability takes nothing returns nothing local integer index if (not bj_slotControlReady) then set index = 0 loop set bj_slotControlUsed[index] = false set bj_slotControl[index] = MAP_CONTROL_USER set index = index + 1 exitwhen index == bj_MAX_PLAYERS endloop set bj_slotControlReady = true endif endfunction
