Skip to content

Duel.GetPlayersCount ​

Source Code | Usage Examples | Duel Functions

Get the amount of player for that specific team. (Can be used to deduce if the duel is an "n vs m" duel and also in conjunction with Duel.TagSwap to "iterate" all the players in the duel.)

Signature ​

Duel.GetPlayersCount(int team) → int

lua
Duel.GetPlayersCount(team)

Parameters ​

Returns ​


under-construction