Skip to main content

Exports

Duels have some exports that you can use

toggleUI (Client)

Used to open or close duels menu

--@param open: boolean true: open menu, false: close menu
exports['yisus_duels']:toggleUI(open)

isPlaying (Client & Server)

Used to know if the player is in a duel match or not

--@returns true if in a duels match false if not
exports['yisus_duels']:isPlaying()